1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Instrumentation
Gui Andrade bb38b0a59d [MSAN] Pass Origin by parameter to __msan_warning functions
Summary:
Normally, the Origin is passed over TLS, which seems like it introduces unnecessary overhead. It's in the (extremely) cold path though, so the only overhead is in code size.

But with eager-checks, calls to __msan_warning functions are extremely common, so this becomes a useful optimization.

This can save ~5% code size.

Reviewers: eugenis, vitalybuka

Reviewed By: eugenis, vitalybuka

Subscribers: hiraditya, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D81700
2020-06-15 17:49:18 -07:00
..
AddressSanitizer Add ASan metadata globals to @llvm.compiler.used under COFF 2020-06-05 09:04:52 -07:00
BoundsChecking [local-bounds] Ignore volatile operations 2020-05-05 23:08:08 -07:00
DataFlowSanitizer
HWAddressSanitizer
InstrOrderFile
InstrProfiling Revert "[InstrProfiling] Use !associated metadata for counters, data and values" 2020-06-10 02:32:50 -07:00
MemorySanitizer [MSAN] Pass Origin by parameter to __msan_warning functions 2020-06-15 17:49:18 -07:00
PoisonChecking
SanitizerCoverage [SanitizerCoverage] Replace the unconditional store with a load, then a conditional store. 2020-05-05 02:25:05 -07:00
ThreadSanitizer [TSAN] Add option to allow instrumenting reads of reads-before-writes 2020-05-15 16:08:44 +02:00
cgprofile.ll