[PATCH] D118712: [HWASan] Properly handle musttail calls.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 11:04:43 PST 2022


eugenis accepted this revision.
eugenis added a subscriber: fmayer.
eugenis added a comment.
This revision is now accepted and ready to land.

LGTM

@fmayer FYI we will need the same in AArch64StackTagging.



================
Comment at: llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp:1539
+          RetVec.push_back(&Inst);
+      } else if (isa<ResumeInst>(Inst) || isa<CleanupReturnInst>(Inst)) {
         RetVec.push_back(&Inst);
----------------
`isa<ResumeInst, CleanupReturnInst>`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118712/new/

https://reviews.llvm.org/D118712



More information about the llvm-commits mailing list