[llvm-commits] [llvm] r169315 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

David Blaikie dblaikie at gmail.com
Tue Dec 4 14:02:34 PST 2012


Author: dblaikie
Date: Tue Dec  4 16:02:33 2012
New Revision: 169315

URL: http://llvm.org/viewvc/llvm-project?rev=169315&view=rev
Log:
Comment change made in r169304 as requested by Eric Christopher.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=169315&r1=169314&r2=169315&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Dec  4 16:02:33 2012
@@ -1511,6 +1511,8 @@
                                        MF->getFunction()->getContext());
     recordSourceLine(FnStartDL.getLine(), FnStartDL.getCol(),
                      FnStartDL.getScope(MF->getFunction()->getContext()),
+    // We'd like to list the prologue as "not statements" but GDB behaves
+    // poorly if we do that. Revisit this with caution/GDB (7.5+) testing.
                      DWARF2_FLAG_IS_STMT);
   }
 }





More information about the llvm-commits mailing list