llvm-6502/lib/CodeGen/AsmPrinter
David Blaikie 1d68fc5021 DebugInfo: Omit is_stmt from line table entries on the same line.
GCC does this for non-zero discriminators and since GCC doesn't produce
column info, that was the only place it comes up there. For LLVM, since
we can emit discriminators and/or column info, it makes more sense to
invert the condition and just test for changes in line number.

This should resolve at least some of the GDB 7.5 test suite failures
created by recent Clang changes that increase the location fidelity
(which, since Clang defaults to including column info on Linux by
default created a bunch of cases that confused GDB).

In theory we could do this better/differently by grouping actual source
statements together in a similar manner to the way lexical scopes are
handled but given that GDB isn't really in a position to consume that (&
users are probably somewhat used to different lines being different
'statements') this seems the safest and cheapest change. (I'm concerned
that doing this 'right' would bloat the debugloc data even further -
something Duncan's working hard to address)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225011 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-30 22:47:13 +00:00
..
AddressPool.cpp
AddressPool.h
ARMException.cpp
AsmPrinter.cpp x86_64: Fix calls to __morestack under the large code model. 2014-12-30 20:05:19 +00:00
AsmPrinterDwarf.cpp
AsmPrinterHandler.h
AsmPrinterInlineAsm.cpp [mips] Set GCC-compatible MIPS asssembler options before inline asm blocks. 2014-12-17 10:56:16 +00:00
ByteStreamer.h
CMakeLists.txt
DbgValueHistoryCalculator.cpp
DbgValueHistoryCalculator.h
DebugLocEntry.h
DebugLocList.h
DIE.cpp
DIE.h
DIEHash.cpp
DIEHash.h
DwarfAccelTable.cpp
DwarfAccelTable.h
DwarfCFIException.cpp
DwarfCompileUnit.cpp Cleanup: Calls to getDwarfRegNum() may actually fail, if there is 2014-12-05 01:02:46 +00:00
DwarfCompileUnit.h
DwarfDebug.cpp DebugInfo: Omit is_stmt from line table entries on the same line. 2014-12-30 22:47:13 +00:00
DwarfDebug.h
DwarfException.h
DwarfFile.cpp
DwarfFile.h
DwarfStringPool.cpp
DwarfStringPool.h
DwarfUnit.cpp Debug Info: In symmetry to DW_TAG_pointer_type, do not emit the byte size 2014-12-24 01:17:51 +00:00
DwarfUnit.h Cleanup: Calls to getDwarfRegNum() may actually fail, if there is 2014-12-05 01:02:46 +00:00
EHStreamer.cpp EH: Sink computation of local PadMap variable into function that uses it 2014-12-19 22:30:08 +00:00
EHStreamer.h EH: Sink computation of local PadMap variable into function that uses it 2014-12-19 22:30:08 +00:00
ErlangGCPrinter.cpp GCStrategy should not own GCFunctionInfo 2014-12-11 01:47:23 +00:00
LLVMBuild.txt
Makefile
OcamlGCPrinter.cpp GCStrategy should not own GCFunctionInfo 2014-12-11 01:47:23 +00:00
Win64Exception.cpp
Win64Exception.h
WinCodeViewLineTables.cpp
WinCodeViewLineTables.h