Skip to content

Commit 5393ddd

Browse files
committedJul 1, 2016
[compiler-rt] Fix cmake to propagate debug info to runtime unittests
Summary: The debug information is not present due to a mis named variabl in the cmake files. Reviewers: rnk Subscribers: kubabrecka, wang0109, llvm-commits, chrisha Differential Revision: http://reviews.llvm.org/D21938 llvm-svn: 274386
1 parent 421119f commit 5393ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎compiler-rt/lib/asan/tests/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ else()
4646
list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -g)
4747
endif()
4848
if(MSVC)
49-
list(APPEND SANITIZER_TEST_CFLAGS_COMMON -gcodeview)
49+
list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -gcodeview)
5050
endif()
51-
list(APPEND SANITIZER_TEST_LINK_FLAGS_COMMON -g)
51+
list(APPEND ASAN_UNITTEST_COMMON_LINKFLAGS -g)
5252

5353
# Use -D instead of definitions to please custom compile command.
5454
list(APPEND ASAN_UNITTEST_COMMON_CFLAGS

0 commit comments

Comments
 (0)