llvm-project
d443cd62 - [ASan] Move early exit checks outside "instrumentFunction()" to avoid… (#133285)

Commit
265 days ago
[ASan] Move early exit checks outside "instrumentFunction()" to avoid… (#133285) … unnecessary FunctionSanitizer construction (NFC) This patch moves several early-exit checks (e.g., empty function, etc.) out of `AddressSanitizer::instrumentFunction` and into the caller. This change avoids unnecessary construction of FunctionSanitizer when instrumentation is not needed.
Author
Parents
Loading