Store compile unit corresponding to each chain of inlined debug info entries. No functionality change.
llvm-svn: 187792
diff --git a/llvm/lib/DebugInfo/DWARFCompileUnit.cpp b/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
index ef3ddf9..93b1622 100644
--- a/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
+++ b/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
@@ -258,7 +258,7 @@
clearDIEs(true);
}
-DWARFDebugInfoEntryMinimal::InlinedChain
+DWARFDebugInfoEntryInlinedChain
DWARFCompileUnit::getInlinedChainForAddress(uint64_t Address) {
// First, find a subprogram that contains the given address (the root
// of inlined chain).
@@ -273,6 +273,6 @@
}
// Get inlined chain rooted at this subprogram DIE.
if (!SubprogramDIE)
- return DWARFDebugInfoEntryMinimal::InlinedChain();
+ return DWARFDebugInfoEntryInlinedChain();
return SubprogramDIE->getInlinedChainForAddress(this, Address);
}