llvm-project/lldb
Ravitheja Addepally 46bcbaafb5 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
2015-11-03 14:24:24 +00:00
..
cmake Create an expression parser for Go. 2015-11-02 19:30:40 +00:00
docs Have debugserver send the OS version string plus 2015-08-12 03:27:33 +00:00
examples Fix tabs and spaces in one of the python files. 2015-10-26 16:51:36 +00:00
include Add the ability to pass an EvaluateExpressionOptions when you make a UserExpression. This 2015-11-03 02:11:24 +00:00
lib Add initial gmake glue for the NetBSD platform 2015-10-24 01:28:24 +00:00
lit Create a check-lldb-unit target to run unit tests. 2015-03-13 20:55:07 +00:00
lldb.xcodeproj Create an expression parser for Go. 2015-11-02 19:30:40 +00:00
lldb.xcworkspace Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
packages/Python/lldbsuite Changes for Bug 25251 2015-11-03 14:24:24 +00:00
resources Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00
scripts Revert part of r239007 related to creating the Python symlink. 2015-11-02 22:13:13 +00:00
source Changes for Bug 25251 2015-11-03 14:24:24 +00:00
test Move go expression tests to the new location. 2015-11-02 21:28:18 +00:00
third_party/Python/module Preparation for turning lldbsuite into a Python package. 2015-10-27 22:33:47 +00:00
tools Handle the options and parameters separator in every MI command 2015-11-02 11:43:40 +00:00
unittests Create an expression parser for Go. 2015-11-02 19:30:40 +00:00
utils syncsource.py: a specific dir's source_excludes may now include the special entry "<no-defaults>". 2015-10-08 17:43:02 +00:00
www Add a sketched out section on adding Language and LanguageRuntime plugins for language support 2015-11-02 22:26:55 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Create an expression parser for Go. 2015-11-02 19:30:40 +00:00
.gitignore Fix .gitignore to ignore symlinks. 2015-03-31 00:03:00 +00:00
CMakeLists.txt Fixup lldb-argdumper cmake build 2015-10-29 14:14:24 +00:00
CODE_OWNERS.txt Convert CRLF to LF in CODE_OWNERS.txt 2015-03-23 14:00:54 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
Makefile Test commit 2015-07-22 08:41:18 +00:00
lldb.root Introduce a mechanism for reusing Python modules out of tree. 2015-10-20 21:05:57 +00:00
use_lldb_suite_root.py Preparation for turning lldbsuite into a Python package. 2015-10-27 22:33:47 +00:00