FailedChanges

Summary

  1. Insert module constructors in a module pass (details)
Commit b46dd6e92af7496130f6c648ae46f7dbb80ca53c by Vitaly Buka
Insert module constructors in a module pass
Summary: If we insert them from function pass some analysis may be
missing or invalid. Fixes PR42877.
Reviewers: eugenis, leonardchan
Reviewed By: leonardchan
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68832
> llvm-svn: 374481 Signed-off-by: Vitaly Buka <vitalybuka@google.com>
llvm-svn: 374527
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was addedclang/test/CodeGen/sanitizer-module-constructor.c
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
The file was modifiedllvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp