diff options
author | Philip Pfaffe <philip.pfaffe@gmail.com> | 2019-01-16 09:28:01 +0000 |
---|---|---|
committer | Philip Pfaffe <philip.pfaffe@gmail.com> | 2019-01-16 09:28:01 +0000 |
commit | 6fd745a550fdc83df565bd8c5d1fe232d5d76422 (patch) | |
tree | d2412341bb06559e1f7c1417357f40ddf168ba2a /llvm/include/llvm/Transforms/Instrumentation.h | |
parent | 7e19e61ec16accc3c1128912f7b8f0b7caf5d34c (diff) |
[NewPM][TSan] Reiterate the TSan portlinaro-local/ci/tcwg_kernel/llvm-master-arm-stable-defconfig
Summary:
Second iteration of D56433 which got reverted in rL350719. The problem
in the previous version was that we dropped the thunk calling the tsan init
function. The new version keeps the thunk which should appease dyld, but is not
actually OK wrt. the current semantics of function passes. Hence, add a
helper to insert the functions only on the first time. The helper
allows hooking into the insertion to be able to append them to the
global ctors list.
Reviewers: chandlerc, vitalybuka, fedor.sergeev, leonardchan
Subscribers: hiraditya, bollu, llvm-commits
Differential Revision: https://reviews.llvm.org/D56538
Diffstat (limited to 'llvm/include/llvm/Transforms/Instrumentation.h')
-rw-r--r-- | llvm/include/llvm/Transforms/Instrumentation.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/include/llvm/Transforms/Instrumentation.h b/llvm/include/llvm/Transforms/Instrumentation.h index 34b52072012..017cab0a775 100644 --- a/llvm/include/llvm/Transforms/Instrumentation.h +++ b/llvm/include/llvm/Transforms/Instrumentation.h @@ -155,9 +155,6 @@ ModulePass *createAddressSanitizerModulePass(bool CompileKernel = false, FunctionPass *createHWAddressSanitizerPass(bool CompileKernel = false, bool Recover = false); -// Insert ThreadSanitizer (race detection) instrumentation -FunctionPass *createThreadSanitizerPass(); - // Insert DataFlowSanitizer (dynamic data flow analysis) instrumentation ModulePass *createDataFlowSanitizerPass( const std::vector<std::string> &ABIListFiles = std::vector<std::string>(), |