[compiler-rt] [compiler-rt][rtsan] Introduce first end to end RTsan lit tests, enable instrumented unit tests (PR #105732)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 10:19:42 PDT 2024
Prabhuk wrote:
Some observations from our team in our early investigation:
- libclang_rt.atomic.so is not linked in for the test binaries.
- We don't see `-latomic` in the link even though cmake file for the test seems to try to set it: https://github.com/llvm/llvm-project/blob/0359b9a2306566a872cede1fcdaa4edc34e9398e/compiler-rt/lib/rtsan/tests/CMakeLists.txt#L39
We suspect the problem here could be with detection of `COMPILER_RT_HAS_LIBATOMIC`.
https://github.com/llvm/llvm-project/pull/105732
More information about the llvm-commits
mailing list