projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dccfaac
)
[CMake] Add optional asan & safestack dependencies to DEBUGINFO_TEST_DEPS
author
Fangrui Song
<maskray@google.com>
Fri, 26 Jun 2020 00:56:22 +0000
(17:56 -0700)
committer
Fangrui Song
<maskray@google.com>
Fri, 26 Jun 2020 00:56:35 +0000
(17:56 -0700)
debuginfo-tests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/debuginfo-tests/CMakeLists.txt
b/debuginfo-tests/CMakeLists.txt
index
dcd80bd
..
429e7e3
100644
(file)
--- a/
debuginfo-tests/CMakeLists.txt
+++ b/
debuginfo-tests/CMakeLists.txt
@@
-22,6
+22,15
@@
set(DEBUGINFO_TEST_DEPS
not
)
+# llgdb-tests/asan.c and other asan* files.
+if(TARGET asan)
+ list(APPEND DEBUGINFO_TEST_DEPS asan)
+endif()
+# llgdb-tests/safestack.c
+if(TARGET safestack)
+ list(APPEND DEBUGINFO_TEST_DEPS safestack)
+endif()
+
# The Windows builder scripts pass -fuse-ld=lld.
if (WIN32)
set(DEBUGINFO_TEST_DEPS ${DEBUGINFO_TEST_DEPS} lld)