[PATCH] D56538: [NewPM][TSan] Reiterate the TSan port

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 10 04:16:21 PST 2019


philip.pfaffe created this revision.
philip.pfaffe added reviewers: chandlerc, vitalybuka, fedor.sergeev, leonardchan.
Herald added subscribers: bollu, hiraditya.

Second iteration of D56433 <https://reviews.llvm.org/D56433> which got reverted in rL350719 <https://reviews.llvm.org/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.


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/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
  llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56538.181025.patch
Type: text/x-patch
Size: 12428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190110/e1ff9749/attachment.bin>


More information about the llvm-commits mailing list