1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/Transforms/Instrumentation
Alexander Potapenko c01b469493 [MSan] store origins for variadic function parameters in __msan_va_arg_origin_tls
Add the __msan_va_arg_origin_tls TLS array to keep the origins for variadic function parameters.
Change the instrumentation pass to store parameter origins in this array.

This is a reland of r341528.

test/msan/vararg.cc doesn't work on Mips, PPC and AArch64 (because this
patch doesn't touch them), XFAIL these arches.
Also turned out Clang crashed on i80 vararg arguments because of
incorrect origin type returned by getOriginPtrForVAArgument() - fixed it
and added a test.

llvm-svn: 341554
2018-09-06 15:14:36 +00:00
..
AddressSanitizer.cpp Re-land r334313 "[asan] Instrument comdat globals on COFF targets" 2018-08-20 23:35:45 +00:00
BoundsChecking.cpp Fix crash in bounds checking. 2018-08-03 17:12:23 +00:00
CFGMST.h Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
CGProfile.cpp Recommit r335794 "Add support for generating a call graph profile from Branch Frequency Info." with fix for removed functions. 2018-07-16 00:28:24 +00:00
CMakeLists.txt [PGO] Control Height Reduction 2018-09-04 17:19:13 +00:00
ControlHeightReduction.cpp [ControlHeightReduction] Remove unused includes 2018-09-05 13:51:05 +00:00
DataFlowSanitizer.cpp [IR] Replace isa<TerminatorInst> with isTerminator(). 2018-08-26 09:51:22 +00:00
EfficiencySanitizer.cpp Add Triple::isMIPS()/isMIPS32()/isMIPS64(). NFC 2018-06-25 16:49:20 +00:00
GCOVProfiling.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
HWAddressSanitizer.cpp [hwasan] Add a basic API. 2018-08-15 00:39:35 +00:00
IndirectCallPromotion.cpp [PGO] add target md5sum in warning message for icall 2018-08-24 21:38:24 +00:00
InstrProfiling.cpp [InstrProf] Use atomic profile counter updates for TSan 2018-08-16 22:24:47 +00:00
Instrumentation.cpp [PGO] Control Height Reduction 2018-09-04 17:19:13 +00:00
LLVMBuild.txt
MaximumSpanningTree.h
MemorySanitizer.cpp [MSan] store origins for variadic function parameters in __msan_va_arg_origin_tls 2018-09-06 15:14:36 +00:00
PGOInstrumentation.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
PGOMemOPSizeOpt.cpp [PGOMemOPSize] Preserve the DominatorTree 2018-07-09 08:07:21 +00:00
SanitizerCoverage.cpp [libFuzzer] Port to Windows 2018-08-30 15:54:44 +00:00
ThreadSanitizer.cpp Use SmallPtrSet explicitly for SmallSets with pointer types (NFC). 2018-06-12 11:16:56 +00:00