summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFCompileUnit.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-06 10:49:15 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-06 10:49:15 +0000
commite664290ad6d988e0ae40f2461084f6adbababa47 (patch)
tree61ac2dc9fbd57bbfea16f43d2aa8afc7453db741 /lib/DebugInfo/DWARFCompileUnit.h
parent7398c774f636f881166a73ff32275354b505d852 (diff)
downloadllvm-e664290ad6d988e0ae40f2461084f6adbababa47.tar.gz
llvm-e664290ad6d988e0ae40f2461084f6adbababa47.tar.bz2
llvm-e664290ad6d988e0ae40f2461084f6adbababa47.tar.xz
Store compile unit corresponding to each chain of inlined debug info entries. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFCompileUnit.h')
-rw-r--r--lib/DebugInfo/DWARFCompileUnit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/DebugInfo/DWARFCompileUnit.h b/lib/DebugInfo/DWARFCompileUnit.h
index 071be905e6..dc2214b289 100644
--- a/lib/DebugInfo/DWARFCompileUnit.h
+++ b/lib/DebugInfo/DWARFCompileUnit.h
@@ -112,9 +112,9 @@ public:
bool clear_dies_if_already_not_parsed);
/// getInlinedChainForAddress - fetches inlined chain for a given address.
- /// Returns empty chain if there is no subprogram containing address.
- DWARFDebugInfoEntryMinimal::InlinedChain getInlinedChainForAddress(
- uint64_t Address);
+ /// Returns empty chain if there is no subprogram containing address. The
+ /// chain is valid as long as parsed compile unit DIEs are not cleared.
+ DWARFDebugInfoEntryInlinedChain getInlinedChainForAddress(uint64_t Address);
private:
/// extractDIEsToVector - Appends all parsed DIEs to a vector.