[PATCH] D64115: [WebAssembly] Prevent inline assembly from being mangled by SjLj

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 17:29:47 PDT 2019


sbc100 accepted this revision.
sbc100 added inline comments.


================
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;
----------------
tlively wrote:
> Please add a comment about why InlineAsm needs to be skipped.
Why move this into calLongjmp?


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