[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:19:24 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL274386: [compiler-rt] Fix cmake to propagate debug info to runtime unittests (authored by etienneb).

Changed prior to commit:
  http://reviews.llvm.org/D21938?vs=62541&id=62545#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D21938

Files:
  compiler-rt/trunk/lib/asan/tests/CMakeLists.txt

Index: compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/asan/tests/CMakeLists.txt
+++ compiler-rt/trunk/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.62545.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160701/fc8f6389/attachment.bin>


More information about the llvm-commits mailing list