[PATCH] D64115: [WebAssembly] Prevent inline assembly from being mangled by SjLj
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 17:29:19 PDT 2019
tlively accepted this revision.
tlively added a comment.
This revision is now accepted and ready to land.
LGTM with a quick explanatory comment!
================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp:964
const Value *Callee = CI->getCalledValue();
- if (!canLongjmp(M, Callee))
+ if (!canLongjmp(M, Callee) || isa<InlineAsm>(Callee))
continue;
----------------
Please add a comment about why InlineAsm needs to be skipped.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64115/new/
https://reviews.llvm.org/D64115
More information about the llvm-commits
mailing list