diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-10-24 17:57:34 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-10-24 17:57:34 +0000 |
commit | 80e5b1ebd1f25159f01f55f20e2992c316d3985a (patch) | |
tree | 19ef1023bff36f10c77fa56e5648fcc445cec000 /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | |
parent | 514253cf433f305e2844545330f80681e43ab9a6 (diff) | |
download | llvm-80e5b1ebd1f25159f01f55f20e2992c316d3985a.zip llvm-80e5b1ebd1f25159f01f55f20e2992c316d3985a.tar.gz llvm-80e5b1ebd1f25159f01f55f20e2992c316d3985a.tar.bz2 |
DebugInfo: Sink DwarfDebug::ScopeVariables down into DwarfFile
(part of refactoring to allow subprogram emission in both the skeleton
and main units to enable -gmlt-like data to be included in the skeleton
for live inlined backtracing purposes)
llvm-svn: 220578
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp index e9df385..3d49db3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp @@ -156,7 +156,7 @@ void DwarfFile::emitStrings(const MCSection *StrSection, } void DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { - SmallVectorImpl<DbgVariable *> &Vars = DD.getScopeVariables()[LS]; + SmallVectorImpl<DbgVariable *> &Vars = ScopeVariables[LS]; DIVariable DV = Var->getVariable(); // Variables with positive arg numbers are parameters. if (unsigned ArgNum = DV.getArgNumber()) { |