summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-29 22:49:00 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-29 22:49:00 +0000
commit014328e76c8a51898687e18bfdc67799dcb7c554 (patch)
tree97c3bb10ebd8064cff3f594c2735bd79413e7ce4 /compiler-rt
parent04cc76dd531c00689f143e7f8f0c26ad888a10e5 (diff)
downloadbcm5719-llvm-014328e76c8a51898687e18bfdc67799dcb7c554.tar.gz
bcm5719-llvm-014328e76c8a51898687e18bfdc67799dcb7c554.zip
[dfsan] Add a syms file.
llvm-svn: 189620
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/dfsan/CMakeLists.txt4
-rw-r--r--compiler-rt/lib/dfsan/dfsan.syms.extra3
2 files changed, 6 insertions, 1 deletions
diff --git a/compiler-rt/lib/dfsan/CMakeLists.txt b/compiler-rt/lib/dfsan/CMakeLists.txt
index eb801b92cae..b952799ffb5 100644
--- a/compiler-rt/lib/dfsan/CMakeLists.txt
+++ b/compiler-rt/lib/dfsan/CMakeLists.txt
@@ -24,7 +24,9 @@ if(CAN_TARGET_${arch})
SOURCES ${DFSAN_RTL_SOURCES}
$<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
CFLAGS ${DFSAN_RTL_CFLAGS} -fPIC -DDFSAN_NOLIBC)
- list(APPEND DFSAN_RUNTIME_LIBRARIES clang_rt.dfsan-${arch})
+ add_sanitizer_rt_symbols(clang_rt.dfsan-${arch} dfsan.syms.extra)
+ list(APPEND DFSAN_RUNTIME_LIBRARIES clang_rt.dfsan-${arch}
+ clang_rt.dfsan-${arch}-symbols)
endif()
add_custom_target(dfsan_abilist ALL
diff --git a/compiler-rt/lib/dfsan/dfsan.syms.extra b/compiler-rt/lib/dfsan/dfsan.syms.extra
new file mode 100644
index 00000000000..0d507eef081
--- /dev/null
+++ b/compiler-rt/lib/dfsan/dfsan.syms.extra
@@ -0,0 +1,3 @@
+dfsan_*
+__dfsan_*
+__dfsw_*
OpenPOWER on IntegriCloud