1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Instrumentation
Peter Collingbourne f94f2b195d hwasan: Emit the globals note even when globals are uninstrumented.
This lets us support the scenario where a binary is linked from a mix
of object files with both instrumented and non-instrumented globals.
This is likely to occur on Android where the decision of whether to use
instrumented globals is based on the API level, which is user-facing.

Previously, in this scenario, it was possible for the comdat from
one of the object files with non-instrumented globals to be selected,
and since this comdat did not contain the note it would mean that the
note would be missing in the linked binary and the globals' shadow
memory would be left uninitialized, leading to a tag mismatch failure
at runtime when accessing one of the instrumented globals.

It is harmless to include the note when targeting a runtime that does
not support instrumenting globals because it will just be ignored.

Differential Revision: https://reviews.llvm.org/D85871
2020-08-13 16:33:22 -07:00
..
AddressSanitizer IR: Define byref parameter attribute 2020-07-20 10:23:09 -04:00
BoundsChecking [local-bounds] Ignore volatile operations 2020-05-05 23:08:08 -07:00
DataFlowSanitizer [DFSan] Add efficient fast16labels instrumentation mode. 2020-07-29 18:58:47 +00:00
HWAddressSanitizer hwasan: Emit the globals note even when globals are uninstrumented. 2020-08-13 16:33:22 -07:00
InstrOrderFile Add a module pass for order file instrumentation 2019-02-28 20:13:38 +00:00
InstrProfiling [PGO] Use multiple comdat groups for COFF 2020-08-03 21:33:16 -07:00
MemorySanitizer Revert "[MSAN] Instrument libatomic load/store calls" 2020-08-07 19:45:51 +00:00
PoisonChecking [PoisonCheker] Support for out of bounds operands on shifts + insert/extractelement 2019-07-09 19:26:12 +00:00
SanitizerCoverage [SanitizerCoverage] Use zeroext for cmp parameters on all targets 2020-08-12 18:38:12 +02:00
ThreadSanitizer [TSan] Add option for emitting compound read-write instrumentation 2020-07-17 10:24:20 +02:00
cgprofile.ll [LPM] Port CGProfilePass from NPM to LPM 2020-07-10 09:04:51 -07:00