diff options
author | Jann Horn <jannh@google.com> | 2020-04-30 11:05:01 +0200 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2020-04-30 15:30:46 +0200 |
commit | cfb5f89b62f885a7a50b1dd49a0cb5532fc75176 (patch) | |
tree | dc78b2bc4e9f7a7ee00c83efdf72d05def38a17f /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 87e07b4c643f5dccd8ce202be0e715ddd3a0998e (diff) | |
download | llvm-cfb5f89b62f885a7a50b1dd49a0cb5532fc75176.zip llvm-cfb5f89b62f885a7a50b1dd49a0cb5532fc75176.tar.gz llvm-cfb5f89b62f885a7a50b1dd49a0cb5532fc75176.tar.bz2 |
[AddressSanitizer] Refactor ClDebug{Min,Max} handling
Summary:
A following commit will split the loop over ToInstrument into two.
To avoid having to duplicate the condition for suppressing instrumentation
sites based on ClDebug{Min,Max}, refactor it out into a new function.
While we're at it, we can also avoid the indirection through
NumInstrumented for setting FunctionModified.
This is patch 1/4 of a patch series:
https://reviews.llvm.org/D77616 [PATCH 1/4] [AddressSanitizer] Refactor ClDebug{Min,Max} handling
https://reviews.llvm.org/D77617 [PATCH 2/4] [AddressSanitizer] Split out memory intrinsic handling
https://reviews.llvm.org/D77618 [PATCH 3/4] [AddressSanitizer] Refactor: Permit >1 interesting operands per instruction
https://reviews.llvm.org/D77619 [PATCH 4/4] [AddressSanitizer] Instrument byval call arguments
Reviewers: kcc, glider
Reviewed By: glider
Subscribers: jfb, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77616
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions