diff options
author | Devang Patel <dpatel@apple.com> | 2009-10-13 23:28:53 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-10-13 23:28:53 +0000 |
commit | 1619dc3b9ee2573c481591764c2d26d5ff16b483 (patch) | |
tree | 7c8a15e6008c918bc92a590e438862b1190f0b86 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 228ebd0f4cf9207d32d61ef4b11b81736895dc09 (diff) |
s/DebugLoc.CompileUnit/DebugLoc.Scope/g
s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 0da888e0f3..4394ec08ef 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1842,14 +1842,14 @@ bool DwarfDebug::ExtractScopeInformation(MachineFunction *MF) { if (DL.isUnknown()) continue; DebugLocTuple DLT = MF->getDebugLocTuple(DL); - if (!DLT.CompileUnit) + if (!DLT.Scope) continue; // There is no need to create another DIE for compile unit. For all // other scopes, create one DbgScope now. This will be translated // into a scope DIE at the end. - DIDescriptor D(DLT.CompileUnit); + DIDescriptor D(DLT.Scope); if (!D.isCompileUnit()) { - DbgScope *Scope = getDbgScope(DLT.CompileUnit, MInsn); + DbgScope *Scope = getDbgScope(DLT.Scope, MInsn); Scope->setLastInsn(MInsn); } } @@ -1942,11 +1942,11 @@ void DwarfDebug::BeginFunction(MachineFunction *MF) { if (!FDL.isUnknown()) { DebugLocTuple DLT = MF->getDebugLocTuple(FDL); unsigned LabelID = 0; - DISubprogram SP = getDISubprogram(DLT.CompileUnit); + DISubprogram SP = getDISubprogram(DLT.Scope); if (!SP.isNull()) - LabelID = RecordSourceLine(SP.getLineNumber(), 0, DLT.CompileUnit); + LabelID = RecordSourceLine(SP.getLineNumber(), 0, DLT.Scope); else - LabelID = RecordSourceLine(DLT.Line, DLT.Col, DLT.CompileUnit); + LabelID = RecordSourceLine(DLT.Line, DLT.Col, DLT.Scope); Asm->printLabel(LabelID); O << '\n'; } @@ -1954,7 +1954,7 @@ void DwarfDebug::BeginFunction(MachineFunction *MF) { DebugLoc FDL = MF->getDefaultDebugLoc(); if (!FDL.isUnknown()) { DebugLocTuple DLT = MF->getDebugLocTuple(FDL); - unsigned LabelID = RecordSourceLine(DLT.Line, DLT.Col, DLT.CompileUnit); + unsigned LabelID = RecordSourceLine(DLT.Line, DLT.Col, DLT.Scope); Asm->printLabel(LabelID); O << '\n'; } |