aprantl added a comment.
One question, but otherwise this looks fine.
================
Comment at: lib/CodeGen/CGStmt.cpp:535
+
+ // Emit debug info for the label only if it's reachable.
+ if (HaveInsertPoint()) {
----------------
Shouldn't it be added to the list of labels/variables of the DISubprogram
regardless?
Repository:
rC Clang
https://reviews.llvm.org/D45045
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits