diff options
| author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2021-06-28 11:16:40 +0200 |
|---|---|---|
| committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2021-08-19 12:43:37 +0200 |
| commit | 36d51386195e3d606e0d40495f1135ab180bd6ae (patch) | |
| tree | f32e054d5c426c281bbf8416e33f0d63e33809a2 /llvm/lib/TextAPI/ArchitectureSet.cpp | |
| parent | 23b16d245382c1a6a7423ed8a67ad620046fff63 (diff) | |
| download | llvm-36d51386195e3d606e0d40495f1135ab180bd6ae.zip llvm-36d51386195e3d606e0d40495f1135ab180bd6ae.tar.gz llvm-36d51386195e3d606e0d40495f1135ab180bd6ae.tar.bz2 | |
[NewPM] Make some sanitizer passes parameterized in the PassRegistry
Refactored implementation of AddressSanitizerPass and
HWAddressSanitizerPass to use pass options similar to passes like
MemorySanitizerPass. This makes sure that there is a single mapping
from class name to pass name (needed by D108298), and options like
-debug-only and -print-after makes a bit more sense when (despite
that it is the unparameterized pass name that should be used in those
options).
A result of the above is that some pass names are removed in favor
of the parameterized versions:
- "khwasan" is now "hwasan<kernel;recover>"
- "kasan" is now "asan<kernel>"
- "kmsan" is now "msan<kernel>"
Differential Revision: https://reviews.llvm.org/D105007
Diffstat (limited to 'llvm/lib/TextAPI/ArchitectureSet.cpp')
0 files changed, 0 insertions, 0 deletions
