Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2024 17:51:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 275854] -fsanitize=address and -fsanitize=memory fail with clang 17
Message-ID:  <bug-275854-29464-g2mevWUwhQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275854-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275854-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275854

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D4883ad3ada84d4fee7372ac30b80eb1df=
eca0d80

commit 4883ad3ada84d4fee7372ac30b80eb1dfeca0d80
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-12-20 16:08:26 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-01-07 17:46:19 +0000

    Add missing sources to libclang_rt Makefiles, clean up unneeded ones

    During the llvm-17 merge, a few new source files were not added to the
    libclang_rt Makefiles, in particular sanitizer_thread_arg_retval.cpp
    which is now required for AddressSanitizer and MemorySanitizer. Also,
    MemorySanitizer now requires msan_dl.cpp.

    While here, clean out a number of source files that compile into nothing
    (because they only contain non-FreeBSD parts). Also, remove a duplicated
    instance of tsan_new_delete.cpp from libclang_rt.tsan, since it is only
    supposed to live in libclang_rt.tsan_cxx.

    PR:             275854
    Reported by:    jbeich
    MFC after:      1 month

    (cherry picked from commit 0c3af23961e170538f375c392b043903c1397780)

 lib/libclang_rt/asan/Makefile             | 3 +--
 lib/libclang_rt/asan_dynamic/Makefile     | 3 +--
 lib/libclang_rt/cfi/Makefile              | 2 +-
 lib/libclang_rt/cfi_diag/Makefile         | 2 +-
 lib/libclang_rt/dd/Makefile               | 2 +-
 lib/libclang_rt/msan/Makefile             | 3 ++-
 lib/libclang_rt/safestack/Makefile        | 1 -
 lib/libclang_rt/stats/Makefile            | 1 +
 lib/libclang_rt/tsan/Makefile             | 3 ---
 lib/libclang_rt/ubsan_standalone/Makefile | 2 +-
 lib/libclang_rt/xray/Makefile             | 1 +
 11 files changed, 10 insertions(+), 13 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275854-29464-g2mevWUwhQ>