summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2019-10-17 23:02:19 +0000
committerDavid Blaikie <dblaikie@gmail.com>2019-10-17 23:02:19 +0000
commit2941cda5be11332b3bd5c26be220ed18cd216c30 (patch)
tree14a09cda042027816904bc854e4e52cbffd33a3f /llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
parent03819d1c80ad5d7b34f8fe0d375fcd2ef6aa5e7f (diff)
downloadbcm5719-llvm-2941cda5be11332b3bd5c26be220ed18cd216c30.tar.gz
bcm5719-llvm-2941cda5be11332b3bd5c26be220ed18cd216c30.zip
DebugInfo: Move loclist base address from DwarfFile to DebugLocStream
There's no need to have more than one of these (there can be two DwarfFiles - one for the .o, one for the .dwo - but only one loc/loclist section (either in the .o or the .dwo) & certainly one per DebugLocStream, which is currently singular in DwarfDebug) llvm-svn: 375183
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
index 25ed8da970a..35fa51fb24c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
@@ -80,10 +80,6 @@ class DwarfFile {
/// The table is shared by all units.
MCSymbol *RnglistsTableBaseSym = nullptr;
- /// DWARF v5: The symbol that designates the base of the locations list table.
- /// The table is shared by all units.
- MCSymbol *LoclistsTableBaseSym = nullptr;
-
/// The variables of a lexical scope.
struct ScopeVars {
/// We need to sort Args by ArgNo and check for duplicates. This could also
@@ -161,9 +157,6 @@ public:
MCSymbol *getRnglistsTableBaseSym() const { return RnglistsTableBaseSym; }
void setRnglistsTableBaseSym(MCSymbol *Sym) { RnglistsTableBaseSym = Sym; }
- MCSymbol *getLoclistsTableBaseSym() const { return LoclistsTableBaseSym; }
- void setLoclistsTableBaseSym(MCSymbol *Sym) { LoclistsTableBaseSym = Sym; }
-
/// \returns false if the variable was merged with a previous one.
bool addScopeVariable(LexicalScope *LS, DbgVariable *Var);
OpenPOWER on IntegriCloud