llvm-capstone/llvm/test/Instrumentation
Gui Andrade b0ffa8befe [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
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
ThreadSanitizer
cgprofile.ll