llvm-6502/lib/MC
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
..
MCDisassembler
MCParser MC: Label definitions are permitted after .set directives 2014-12-24 10:27:50 +00:00
CMakeLists.txt
ConstantPools.cpp
ELFObjectWriter.cpp Remove doesSectionRequireSymbols. 2014-12-30 13:13:27 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Remove doesSectionRequireSymbols. 2014-12-30 13:13:27 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp Refactor duplicated code. 2014-12-29 15:18:31 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp Remove doesSectionRequireSymbols. 2014-12-30 13:13:27 +00:00
MCAsmInfoELF.cpp Allow target to specify prefix for labels 2014-12-04 00:06:57 +00:00
MCAsmStreamer.cpp DebugInfo: Omit is_stmt from line table entries on the same line. 2014-12-30 22:47:13 +00:00
MCAssembler.cpp Remove doesSectionRequireSymbols. 2014-12-30 13:13:27 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp
MCDwarf.cpp
MCELF.cpp
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp
MCExpr.cpp Instead of explicitely comparing both lowercase and uppercase variants. 2014-12-18 23:12:34 +00:00
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp Commit back the correct bits of r222760 (was r222538). 2014-11-27 17:13:56 +00:00
MCObjectStreamer.cpp Clean up static analyzer warnings. 2014-12-12 21:48:03 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp
MCSubtargetInfo.cpp
MCSymbol.cpp
MCSymbolizer.cpp
MCTargetOptions.cpp
MCValue.cpp
MCWin64EH.cpp
MCWinEH.cpp Fix Windows unwind info for functions in sections other than .text 2014-12-22 22:10:08 +00:00
StringTableBuilder.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp Remove doesSectionRequireSymbols. 2014-12-30 13:13:27 +00:00
WinCOFFStreamer.cpp
YAML.cpp