[PATCH] D45045: [DebugInfo] Generate debug information for labels.
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 12 08:51:02 PDT 2018
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
More information about the cfe-commits
mailing list