llvm-project/llvm/lib/Transforms/Instrumentation
Joel Galenson cfe5bc158d Fix crash in bounds checking.
In r337830 I added SCEV checks to enable us to insert fewer bounds checks.  Unfortunately, this sometimes crashes when multiple bounds checks are added due to SCEV caching issues.  This patch splits the bounds checking pass into two phases, one that computes all the conditions (using SCEV checks) and the other that adds the new instructions.

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

llvm-svn: 338902
2018-08-03 17:12:23 +00:00
..
AddressSanitizer.cpp [ASAN] Use the correct shadow offset for ASAN on FreeBSD/mips64. 2018-08-01 22:51:13 +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 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
DataFlowSanitizer.cpp Add Triple::isMIPS()/isMIPS32()/isMIPS64(). NFC 2018-06-25 16:49:20 +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] Do not retag allocas before return from the function. 2018-06-29 20:20:17 +00:00
IndirectCallPromotion.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
InstrProfiling.cpp [InstrProf] Don't register __llvm_profile_runtime_user 2018-07-27 22:21:35 +00:00
Instrumentation.cpp Revert r335306 (and r335314) - the Call Graph Profile pass. 2018-06-22 05:33:57 +00:00
LLVMBuild.txt
MaximumSpanningTree.h Remove unneeded use of #undef DEBUG_TYPE. NFC 2017-07-12 20:49:21 +00:00
MemorySanitizer.cpp [MSan] Hotfix compilation 2018-07-20 16:52:12 +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 [SanitizerCoverage] Add associated metadata to 8-bit counters. 2018-07-12 20:24:58 +00:00
ThreadSanitizer.cpp Use SmallPtrSet explicitly for SmallSets with pointer types (NFC). 2018-06-12 11:16:56 +00:00