[compiler-rt] cae5462 - [compiler-rt][CMake] Set unwinder for MSan unittests

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 01:12:16 PDT 2022


Author: Petr Hosek
Date: 2022-07-15T08:11:59Z
New Revision: cae5462a2caa4a14516d3935d2ca3a1f1d0522c9

URL: https://github.com/llvm/llvm-project/commit/cae5462a2caa4a14516d3935d2ca3a1f1d0522c9
DIFF: https://github.com/llvm/llvm-project/commit/cae5462a2caa4a14516d3935d2ca3a1f1d0522c9.diff

LOG: [compiler-rt][CMake] Set unwinder for MSan unittests

This addresses an issue introduced by 6699f554880087106a02be1675395bf2cc6f46c8.

Added: 
    

Modified: 
    compiler-rt/lib/msan/tests/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/msan/tests/CMakeLists.txt b/compiler-rt/lib/msan/tests/CMakeLists.txt
index 3ed888b81c6e5..efd370baeae6f 100644
--- a/compiler-rt/lib/msan/tests/CMakeLists.txt
+++ b/compiler-rt/lib/msan/tests/CMakeLists.txt
@@ -54,6 +54,7 @@ set(MSAN_UNITTEST_INSTRUMENTED_CFLAGS
 set(MSAN_UNITTEST_LINK_FLAGS
   -nostdlib++
   ${COMPILER_RT_UNITTEST_LINK_FLAGS}
+  ${COMPILER_RT_UNWINDER_LINK_LIBS}
   -fsanitize=memory
   # Don't need -stdlib=libc++ because we explicitly list libc++.a in the linker
   # inputs.


        


More information about the llvm-commits mailing list