summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-20 00:12:06 +0000
committerEric Christopher <echristo@gmail.com>2014-03-20 00:12:06 +0000
commite9551ec1a06c87c41ee2f5ba434a3f4f79ad6342 (patch)
tree76c0796ad0239746ff3e2530e9861eaa249007f2 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent5f56e9d6cb2f5641c7537a7a2a5529c62107fe36 (diff)
downloadbcm5719-llvm-e9551ec1a06c87c41ee2f5ba434a3f4f79ad6342.tar.gz
bcm5719-llvm-e9551ec1a06c87c41ee2f5ba434a3f4f79ad6342.zip
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. llvm-svn: 204286
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 52be24c7963..73150442c67 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -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;
OpenPOWER on IntegriCloud