[PATCH] D88936: [HWAsan][NewPM] Handle hwasan like other sanitizers
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 6 16:30:43 PDT 2020
aeubanks created this revision.
Herald added subscribers: cfe-commits, dexonsmith.
Herald added a project: clang.
aeubanks requested review of this revision.
Move it as an EP callback (-O[123]) or in addSanitizersAtO0.
This makes it not run in ThinLTO pre-link (like the other sanitizers),
so don't check LTO runs in hwasan-new-pm.c. Changing its position also
seems to change the generated IR. I think we just need to make sure the
pass runs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88936
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/test/CodeGen/hwasan-new-pm.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88936.296564.patch
Type: text/x-patch
Size: 6588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201006/a3a272d4/attachment-0001.bin>
More information about the cfe-commits
mailing list