mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
4df4bccc71
The compiler occasionally generates multiple .loc directives in a row (at the same instruction address). These need to be transformed into multple actual .debug_line table entries, since they are used to signal certain information to the debugger (e.g. if the opening brace of a function body is on the same line as the declaration). The MCAsmStreamer version of EmitDwarfLocDirective handles this correctly by emitting a .loc directive every time it is called. However, the MCObjectStream version simply defaults to recording the information and emitting only a single table entry later, e.g. when EmitInstruction is called. This patch introduces a MCAsmStreamer::EmitDwarfLocDirective version that emits a line table entry for a .loc directive that may already be pending before recording the new directive. (This is similar to how this is handled in GNU as.) With this patch (and the code alignment factor patch) applied, I'm now getting identical DWARF .debug sections for all test-suite object files on PowerPC for the internal and the external assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184357 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
MCParser | ||
MachineLocation.h | ||
MCAsmBackend.h | ||
MCAsmInfo.h | ||
MCAsmInfoCOFF.h | ||
MCAsmInfoDarwin.h | ||
MCAsmLayout.h | ||
MCAssembler.h | ||
MCAtom.h | ||
MCCodeEmitter.h | ||
MCCodeGenInfo.h | ||
MCContext.h | ||
MCDirectives.h | ||
MCDisassembler.h | ||
MCDwarf.h | ||
MCELF.h | ||
MCELFObjectWriter.h | ||
MCELFStreamer.h | ||
MCELFSymbolFlags.h | ||
MCExpr.h | ||
MCExternalSymbolizer.h | ||
MCFixedLenDisassembler.h | ||
MCFixup.h | ||
MCFixupKindInfo.h | ||
MCFunction.h | ||
MCInst.h | ||
MCInstBuilder.h | ||
MCInstPrinter.h | ||
MCInstrAnalysis.h | ||
MCInstrDesc.h | ||
MCInstrInfo.h | ||
MCInstrItineraries.h | ||
MCLabel.h | ||
MCMachObjectWriter.h | ||
MCMachOSymbolFlags.h | ||
MCModule.h | ||
MCObjectDisassembler.h | ||
MCObjectFileInfo.h | ||
MCObjectStreamer.h | ||
MCObjectSymbolizer.h | ||
MCObjectWriter.h | ||
MCRegisterInfo.h | ||
MCRelocationInfo.h | ||
MCSchedule.h | ||
MCSection.h | ||
MCSectionCOFF.h | ||
MCSectionELF.h | ||
MCSectionMachO.h | ||
MCStreamer.h | ||
MCSubtargetInfo.h | ||
MCSymbol.h | ||
MCSymbolizer.h | ||
MCTargetAsmParser.h | ||
MCValue.h | ||
MCWin64EH.h | ||
MCWinCOFFObjectWriter.h | ||
SectionKind.h | ||
SubtargetFeature.h |