diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2014-03-06 12:03:39 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2014-03-06 12:03:39 +0000 |
commit | 7bb80e4dd4f40476135da3e443333649ec9b9699 (patch) | |
tree | 6c89fa55a99e3153a1a5b1fba4e9737ac88c0a6b /lib | |
parent | c860f913929bb72aea075966a3ebaafb2702dafa (diff) |
tsan: add -ftls-model=initial-exec to deadlock detector flags
one way or another it must present in the process from the beginning
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tsan/dd/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tsan/dd/CMakeLists.txt b/lib/tsan/dd/CMakeLists.txt index 305e26c07..da43f6621 100644 --- a/lib/tsan/dd/CMakeLists.txt +++ b/lib/tsan/dd/CMakeLists.txt @@ -4,6 +4,7 @@ include_directories(../..) set(DD_CFLAGS ${SANITIZER_COMMON_CFLAGS}) append_no_rtti_flag(DD_CFLAGS) +list(APPEND DD_CFLAGS -ftls-model=initial-exec) if("${CMAKE_BUILD_TYPE}" EQUAL "Release") set(DD_COMMON_DEFINITIONS DEBUG=0) |