[PATCH] D82322: [ASan][MSan] Remove EmptyAsm and set the CallInst to nomerge to avoid from merging.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 13:59:21 PDT 2020
vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:1082
if (CallInst *CI = dyn_cast<CallInst>(&CB)) {
- HasNonEmptyInlineAsm |= CI->isInlineAsm() &&
- !CI->isIdenticalTo(EmptyInlineAsm.get()) &&
- &CB != ASan.LocalDynamicShadow;
+ HasNonEmptyInlineAsm |=
+ CI->isInlineAsm() && &CB != ASan.LocalDynamicShadow;
----------------
HasNonEmptyInlineAsm -> HasInlineAsm
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82322/new/
https://reviews.llvm.org/D82322
More information about the llvm-commits
mailing list