mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Sink DwarfDebug.cpp::constructVariableDIE into DwarfCompileUnit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -542,4 +542,12 @@ DwarfCompileUnit::constructVariableDIEImpl(const DbgVariable &DV,
|
||||
return VariableDie;
|
||||
}
|
||||
|
||||
std::unique_ptr<DIE> DwarfCompileUnit::constructVariableDIE(
|
||||
DbgVariable &DV, const LexicalScope &Scope, DIE *&ObjectPointer) {
|
||||
auto Var = constructVariableDIE(DV, Scope.isAbstractScope());
|
||||
if (DV.isObjectPointer())
|
||||
ObjectPointer = Var.get();
|
||||
return Var;
|
||||
}
|
||||
|
||||
} // end llvm namespace
|
||||
|
Reference in New Issue
Block a user