llvm-project/llvm/test/Instrumentation
Nick Desaulniers 4914c98367 [SantizerCoverage] handle missing DBG MD when inserting libcalls
Instruction::getDebugLoc can return an invalid DebugLoc. For such cases
where metadata was accidentally removed from the libcall insertion
point, simply insert a DILocation with line 0 scoped to the caller. When
we can inline the libcall, such as during LTO, then we won't fail a
Verifier check that all calls to functions with debug metadata
themselves must have debug metadata.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D100158
2021-04-12 15:55:58 -07:00
..
AddressSanitizer Reapply "OpaquePtr: Turn inalloca into a type attribute" 2021-03-29 08:55:30 -04:00
BoundsChecking OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
DataFlowSanitizer [dfsan] Turn on testing origin tracking at atomics.ll 2021-03-19 17:53:13 +00:00
HWAddressSanitizer [llvm][hwasan] Add Fuchsia shadow mapping configuration 2021-03-25 15:28:59 -07:00
HeapProfiler [MemProf] Fix a potential "permission denied" test failure on some systems. 2020-12-07 14:04:23 +01:00
InstrOrderFile
InstrProfiling Revert "[InstrProfiling] Don't generate __llvm_profile_runtime_user" 2021-03-12 13:53:46 +01:00
MemorySanitizer [msan] Set cmpxchg shadow precisely 2021-02-19 20:23:23 +00:00
PoisonChecking
SanitizerCoverage [SantizerCoverage] handle missing DBG MD when inserting libcalls 2021-04-12 15:55:58 -07:00
ThreadSanitizer [test][TSan] Fix tests under NPM 2020-09-18 11:37:55 -07:00
cgprofile.ll [CGProfile] don't emit cgprofile entry if called function is dllimport 2020-09-23 16:56:54 -07:00