1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib
Philip Pfaffe 65df098609 [NewPM] Port Msan
Summary:
Keeping msan a function pass requires replacing the module level initialization:
That means, don't define a ctor function which calls __msan_init, instead just
declare the init function at the first access, and add that to the global ctors
list.

Changes:
- Pull the actual sanitizer and the wrapper pass apart.
- Add a newpm msan pass. The function pass inserts calls to runtime
  library functions, for which it inserts declarations as necessary.
- Update tests.

Caveats:
- There is one test that I dropped, because it specifically tested the
  definition of the ctor.

Reviewers: chandlerc, fedor.sergeev, leonardchan, vitalybuka

Subscribers: sdardis, nemanjai, javed.absar, hiraditya, kbarton, bollu, atanasyan, jsji

Differential Revision: https://reviews.llvm.org/D55647

llvm-svn: 350305
2019-01-03 13:42:44 +00:00
..
Analysis [SLPVectorizer] Flag ADD/SUB SSAT/USAT intrinsics trivially vectorizable (PR40123) 2019-01-03 12:18:23 +00:00
AsmParser [ThinLTO] Compute synthetic function entry count 2018-12-13 19:54:27 +00:00
BinaryFormat llvm-dwarfdump: Improve/fix pretty printing of array dimensions 2018-12-19 19:34:24 +00:00
Bitcode [ThinLTO] Compute synthetic function entry count 2018-12-13 19:54:27 +00:00
CodeGen Resubmit rL345008 "Split MachinePipeliner code into header and cpp files" 2019-01-03 10:03:54 +00:00
DebugInfo llvm-dwarfdump: Skip address index info (and dump only the address, if found) when non-verbose dumping addrx forms 2018-12-24 06:52:31 +00:00
Demangle [MS Demangler] Add a flag for dumping types without tag specifier. 2019-01-02 18:33:12 +00:00
ExecutionEngine [ORC] Rename register in the OrcMips64 resolver code comments. NFC 2018-12-23 12:05:04 +00:00
Fuzzer
FuzzMutate
IR [BasicAA] Support arbitrary pointer sizes (and fix an overflow bug) 2019-01-02 16:28:09 +00:00
IRReader
LineEditor
Linker
LTO [ThinLTO] Remove dllimport attribute from locally defined symbols 2018-12-19 19:07:45 +00:00
MC Don't go over 80 chars in MCStreamer.cpp. NFC. 2019-01-03 06:06:38 +00:00
MCA [MCA] Minor refactoring of method DefaultResourceStrategy::select. NFCI 2019-01-02 15:40:52 +00:00
Object [llvm-readobj] [COFF] Print the symbol index for relocations 2019-01-03 08:08:23 +00:00
ObjectYAML [yaml2obj/obj2yaml] - Support dumping/parsing ABI version. 2018-12-20 10:43:49 +00:00
Option
OptRemarks
Passes [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
ProfileData
Support [NFC] Fixed extra semicolon warning 2018-12-30 13:18:17 +00:00
TableGen Let TableGen write output only if it changed, instead of doing so in cmake, attempt 2 2018-12-19 13:35:53 +00:00
Target [ARM] Add command-line option for SB 2019-01-03 12:09:12 +00:00
Testing
TextAPI [TextAPI][elfabi] Fix YAML support for weak symbols 2018-12-21 20:45:58 +00:00
ToolDrivers
Transforms [NewPM] Port Msan 2019-01-03 13:42:44 +00:00
WindowsManifest
XRay [Object] Rename getRelrRelocationType to getRelativeRelocationType 2018-12-14 07:46:58 +00:00
CMakeLists.txt [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00
LLVMBuild.txt [llvm-mca] Move llvm-mca library to llvm/lib/MCA. 2018-12-17 08:08:31 +00:00