diff options
author | Ravitheja Addepally <ravitheja.addepally@intel.com> | 2015-11-03 14:24:24 +0000 |
---|---|---|
committer | Ravitheja Addepally <ravitheja.addepally@intel.com> | 2015-11-03 14:24:24 +0000 |
commit | 46bcbaafb5467d26814243bf3e7bfb2bbfb78246 (patch) | |
tree | b33c4035b317a3795186ad498f70ed73b9d78949 /lldb/packages/Python/lldbsuite/test/tools | |
parent | 0ca1e2c3f92610bbb552e69daaaa0173dbb7a5e2 (diff) | |
download | bcm5719-llvm-46bcbaafb5467d26814243bf3e7bfb2bbfb78246.tar.gz bcm5719-llvm-46bcbaafb5467d26814243bf3e7bfb2bbfb78246.zip |
Changes for Bug 25251
Summary:
The solution to bug 24074,rL249673 needed
to parse the function information from the Dwarf in order
to set the SymbolContext. For that, GetFunction was called
for the parent in GetTypeForDIE, which parses the
ChildParameters and in the flow, GetTypeForDIE was called
for one of the sibling die and so an infinite
loop was triggered by calling GetFunction repeatedly for the
same function.
The changes in this revision modify the GetTypeForDIE to only
resolve the function context in the Type Lookup flow and so
prevent the infinite loop.
A testcase has also been added to check for regression in the
future and a test vector had been added to the testcase of
24074.
Reviewers: jingham, tberghammer, clayborg
Differential Revision: http://reviews.llvm.org/D14202
llvm-svn: 251917
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools')
0 files changed, 0 insertions, 0 deletions