mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Revert "Use the range machinery for DW_AT_ranges and DW_AT_high/lo_pc."
This appears to trigger failures with optimization and function arguments somehow. This reverts commit r204277. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204286 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -406,13 +406,6 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
// If nonnull, stores the current machine instruction we're processing.
|
||||
const MachineInstr *CurMI;
|
||||
|
||||
// If nonnull, stores the section that the previous function was allocated to
|
||||
// emitting.
|
||||
const MCSection *PrevSection;
|
||||
|
||||
// If nonnull, stores the CU in which the previous subprogram was contained.
|
||||
const DwarfCompileUnit *PrevCU;
|
||||
|
||||
// Section Symbols: these are assembler temporary labels that are emitted at
|
||||
// the beginning of each supported dwarf section. These are used to form
|
||||
// section offsets and are created by EmitSectionLabels.
|
||||
@@ -748,18 +741,15 @@ public:
|
||||
/// split dwarf proposal support.
|
||||
bool useSplitDwarf() const { return HasSplitDwarf; }
|
||||
|
||||
/// \brief Returns whether or not to use AT_ranges for compilation units.
|
||||
bool useCURanges() const { return HasCURanges; }
|
||||
|
||||
/// Returns the Dwarf Version.
|
||||
unsigned getDwarfVersion() const { return DwarfVersion; }
|
||||
|
||||
/// Returns the section symbol for the .debug_loc section.
|
||||
MCSymbol *getDebugLocSym() const { return DwarfDebugLocSectionSym; }
|
||||
|
||||
/// Returns the previous section that was emitted into.
|
||||
const MCSection *getPrevSection() const { return PrevSection; }
|
||||
|
||||
/// Returns the previous CU that was being updated
|
||||
const DwarfCompileUnit *getPrevCU() const { return PrevCU; }
|
||||
|
||||
/// Returns the entries for the .debug_loc section.
|
||||
const SmallVectorImpl<DebugLocEntry> &getDebugLocEntries() const {
|
||||
return DotDebugLocEntries;
|
||||
|
Reference in New Issue
Block a user