[PATCH] D91620: [compiler-rt][test] Heed COMPILER_RT_DEBUG when compiling unittests

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 04:51:04 PDT 2022


ro updated this revision to Diff 465701.
ro added a comment.

- Use `string(APPEND)` for `COMPILER_RT_TEST_COMPILER_CFLAGS`.
- Omit `-O3` from `COMPILER_RT_TEST_COMPILER_CFLAGS` in non-debug builds for now.
- Provide `__sanitizer::integral_constant<bool, true>::value` instantiation.
- `XFAIL` `tsan/Linux/check_memcpy.c` in debug builds.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91620/new/

https://reviews.llvm.org/D91620

Files:
  compiler-rt/CMakeLists.txt
  compiler-rt/lib/asan/tests/CMakeLists.txt
  compiler-rt/lib/fuzzer/tests/CMakeLists.txt
  compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
  compiler-rt/lib/interception/tests/CMakeLists.txt
  compiler-rt/lib/msan/tests/CMakeLists.txt
  compiler-rt/lib/sanitizer_common/sanitizer_type_traits.h
  compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
  compiler-rt/lib/sanitizer_common/tests/sanitizer_type_traits_test.cpp
  compiler-rt/test/tsan/Linux/check_memcpy.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91620.465701.patch
Type: text/x-patch
Size: 7176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221006/e0da4abc/attachment.bin>


More information about the llvm-commits mailing list