[PATCH] D56571: [RFC prototype] Implementation of asm-goto support in LLVM

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 10 17:57:56 PST 2019


efriedma added a comment.

Missing changes to lib/Analysis/CFG.cpp.



================
Comment at: lib/Sema/SemaStmtAsm.cpp:470
+    if (NS->isGCCAsmGoto() &&
+        Exprs[ConstraintIdx]->getStmtClass() == Stmt::AddrLabelExprClass)
+      break;
----------------
This looks suspicious; an AddrLabelExpr could be an input or output, e.g. `"r"(&&foo)`.


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

https://reviews.llvm.org/D56571





More information about the cfe-commits mailing list