[PATCH] D21938: [compiler-rt] Fix cmake to propagate debug info to runtime unittests
Etienne Bergeron via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 1 14:13:05 PDT 2016
etienneb created this revision.
etienneb added a reviewer: rnk.
etienneb added subscribers: chrisha, llvm-commits, wang0109.
Herald added a subscriber: kubabrecka.
The debug information is not present due to a mis named variabl in
the cmake files.
http://reviews.llvm.org/D21938
Files:
lib/asan/tests/CMakeLists.txt
Index: lib/asan/tests/CMakeLists.txt
===================================================================
--- lib/asan/tests/CMakeLists.txt
+++ lib/asan/tests/CMakeLists.txt
@@ -46,9 +46,9 @@
list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -g)
endif()
if(MSVC)
- list(APPEND SANITIZER_TEST_CFLAGS_COMMON -gcodeview)
+ list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -gcodeview)
endif()
-list(APPEND SANITIZER_TEST_LINK_FLAGS_COMMON -g)
+list(APPEND ASAN_UNITTEST_COMMON_LINKFLAGS -g)
# Use -D instead of definitions to please custom compile command.
list(APPEND ASAN_UNITTEST_COMMON_CFLAGS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21938.62541.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160701/1a739fe4/attachment.bin>
More information about the llvm-commits
mailing list