llvm-project/lldb/source
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
..
API Create an expression parser for Go. 2015-11-02 19:30:40 +00:00
Breakpoint [LLDB][Watchpoint] Change ignore_count condition location to fix watchpoint ignore feature for architectures with watchpoint_exceptions_received=before 2015-11-03 09:04:33 +00:00
Commands Add a --offset option to memory read that allows one to specify, given a type, how many sizeof(type) bytes to speak before starting to read memory 2015-10-29 23:40:24 +00:00
Core Do not try to copy host memory from address 0 2015-11-03 02:34:43 +00:00
DataFormatters Add a --language (-l) option to the formatter delete commands in order to allow removing formatters from language categories 2015-10-29 22:18:05 +00:00
Expression Add the ability to pass an EvaluateExpressionOptions when you make a UserExpression. This 2015-11-03 02:11:24 +00:00
Host Emit an error message if the current working directory does not exist when the user is trying to launch argdumper to do shell expansion 2015-11-03 01:47:19 +00:00
Initialization Refactor Windows process plugin to allow code sharing between live and mini dump debugging. 2015-10-28 18:21:45 +00:00
Interpreter Fix Clang-tidy modernize-use-override warnings in some files in source; other minor fixes. 2015-10-26 17:00:13 +00:00
Plugins Changes for Bug 25251 2015-11-03 14:24:24 +00:00
Symbol Add the ability to pass an EvaluateExpressionOptions when you make a UserExpression. This 2015-11-03 02:11:24 +00:00
Target [LLDB][Watchpoint] Change ignore_count condition location to fix watchpoint ignore feature for architectures with watchpoint_exceptions_received=before 2015-11-03 09:04:33 +00:00
Utility Fix module cache sym links' creation for symbol files. 2015-11-03 00:30:19 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
Makefile [Makefiles] Align library names with CMake build 2015-07-14 20:25:19 +00:00
lldb.cpp Move LLDB initialization/shutdown to Initialization. 2015-03-19 22:00:21 +00:00