Comment change made in r169304 as requested by Eric Christopher.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 4 Dec 2012 22:02:33 +0000 (22:02 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 4 Dec 2012 22:02:33 +0000 (22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169315 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 3276575842908c0c9fd1838106f032f249d3dfcd..945fba8dca8e1b533c286f586daf3918ac836ebb 100644 (file)
@@ -1511,6 +1511,8 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) {
                                        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);
   }
 }