[PATCH] D68832: [tsan,msan] Insert module constructors in a module pass
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 13:46:18 PDT 2019
vitalybuka created this revision.
vitalybuka added reviewers: eugenis, leonardchan.
Herald added subscribers: llvm-commits, cfe-commits, hiraditya.
Herald added projects: clang, LLVM.
If we insert them from function pass some analysis may be missing or invalid.
Fixes PR42877.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68832
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/test/CodeGen/sanitizer-module-constructor.c
llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
llvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68832.224465.patch
Type: text/x-patch
Size: 15271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191010/026b6ed6/attachment.bin>
More information about the llvm-commits
mailing list