diff options
author | Enna1 <xumingjie.enna1@bytedance.com> | 2022-06-07 11:15:12 +0800 |
---|---|---|
committer | Enna1 <xumingjie.enna1@bytedance.com> | 2022-06-07 11:17:07 +0800 |
commit | e52a38c8f1c47c08cd634b5962a05132db753b55 (patch) | |
tree | 78feeda06042b853d5096650c555f3ee69545033 /llvm/lib/CodeGen/StackMaps.cpp | |
parent | a4f8590247264b9c3121f48dd5b3db707c934ba2 (diff) | |
download | llvm-e52a38c8f1c47c08cd634b5962a05132db753b55.zip llvm-e52a38c8f1c47c08cd634b5962a05132db753b55.tar.gz llvm-e52a38c8f1c47c08cd634b5962a05132db753b55.tar.bz2 |
[ASan] Skip any instruction inserted by another instrumentation.
Currently, we only check !nosanitize metadata for instruction passed to function `getInterestingMemoryOperands()` or instruction which is a cannot return callable instruction.
This patch add this check to any instruction.
E.g. ASan shouldn't instrument the instruction inserted by UBSan/pointer-overflow.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D126269
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions