[PATCH] D56538: [NewPM][TSan] Reiterate the TSan port
Philip Pfaffe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 15 10:51:35 PST 2019
philip.pfaffe updated this revision to Diff 181821.
philip.pfaffe added a comment.
Execute appendtoGlobalCtors lazily as well. Previously the inserted ctor was
still added multiple times to the global ctors list. Doing this lazily requires
knowing when the ctor is actually created, so I added a callback to handle the
insertion.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56538/new/
https://reviews.llvm.org/D56538
Files:
clang/lib/CodeGen/BackendUtil.cpp
llvm/bindings/go/llvm/InstrumentationBindings.cpp
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/Transforms/Instrumentation.h
llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
llvm/include/llvm/Transforms/Utils/ModuleUtils.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
llvm/lib/Transforms/Utils/ModuleUtils.cpp
llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56538.181821.patch
Type: text/x-patch
Size: 16058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190115/a26a5a81/attachment.bin>
More information about the llvm-commits
mailing list