summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-20 22:57:17 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-20 22:57:17 +0000
commit2b59a5fc6c82e5968a46e5412f495d6de48d2852 (patch)
treed75d67b79392a14e94acc3175eac48c671410368 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent920e3af495df707e2cda94536d6bd63898baabc5 (diff)
downloadbcm5719-llvm-2b59a5fc6c82e5968a46e5412f495d6de48d2852.tar.gz
bcm5719-llvm-2b59a5fc6c82e5968a46e5412f495d6de48d2852.zip
Introduce DebugScope which gets embedded into the machine instructions' DebugLoc.
DebugScope refers to a debug region, function or block. llvm-svn: 72191
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 45462da0d26..438ba035ba0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud