[PATCH] D37625: [DWARF] Incorrect prologue end line record.

Carlos Alberto Enciso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 07:38:38 PDT 2017


CarlosAlbertoEnciso marked an inline comment as done.
CarlosAlbertoEnciso added a comment.

As I do not have commit access, Robert Lougher will submit this for me.



================
Comment at: lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1161
   // Check if source location changes, but ignore DBG_VALUE and CFI locations.
-  if (MI->isMetaInstruction())
+  // Check if source location changes, but ignore DBG_VALUE and CFI locations.
+  // If the instruction is part of the function frame setup code, do not emit
----------------
aprantl wrote:
> Duplicate line?
Thanks. You are correct; that is a duplicated line. Fixed.


https://reviews.llvm.org/D37625





More information about the llvm-commits mailing list