aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorArgiris Kirtzidis <akyrtzi@gmail.com>2009-05-20 22:57:17 +0000
committerArgiris Kirtzidis <akyrtzi@gmail.com>2009-05-20 22:57:17 +0000
commit0c41264d8ca7e8bd4bab0413891e7fb1aa22d864 (patch)
treeb11e9216b210aa292c44b188250195ef8292d4b3 /lib/CodeGen/AsmPrinter
parent6787a7c255d2a7c99406f26833e329a1ce1fe3f8 (diff)
downloadexternal_llvm-0c41264d8ca7e8bd4bab0413891e7fb1aa22d864.zip
external_llvm-0c41264d8ca7e8bd4bab0413891e7fb1aa22d864.tar.gz
external_llvm-0c41264d8ca7e8bd4bab0413891e7fb1aa22d864.tar.bz2
Introduce DebugScope which gets embedded into the machine instructions' DebugLoc.
DebugScope refers to a debug region, function or block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter')
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 45462da..438ba03 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1311,7 +1311,7 @@ void AsmPrinter::PrintSpecial(const MachineInstr *MI, const char *Code) const {
void AsmPrinter::processDebugLoc(DebugLoc DL) {
if (TAI->doesSupportDebugInformation() && DW->ShouldEmitDwarfDebug()) {
if (!DL.isUnknown()) {
- static DebugLocTuple PrevDLT(0, ~0U, ~0U);
+ static DebugLocTuple PrevDLT(0, DebugScope::getInvalid(), ~0U, ~0U);
DebugLocTuple CurDLT = MF->getDebugLocTuple(DL);
if (CurDLT.CompileUnit != 0 && PrevDLT != CurDLT)