- Oct 12, 2011
-
-
Greg Clayton authored
llvm-svn: 141755
-
Sean Callanan authored
of namespaces (only in the modules where they've been found) for entities inside those namespaces. For each NamespaceDecl that has been imported into the parser, we maintain a map containing [ModuleSP, ClangNamespaceDecl] pairs in the ASTImporter. This map has one entry for each module in which the namespace has been found. When we later scan for an entity inside a namespace, we search only the modules in which that namespace was found. Also made a small whitespace fix in ClangExpressionParser.cpp. llvm-svn: 141748
-
- Oct 11, 2011
-
-
Johnny Chen authored
llvm-svn: 141712
-
Johnny Chen authored
Patch by Dawn. llvm-svn: 141711
-
Greg Clayton authored
llvm-svn: 141707
-
Greg Clayton authored
builds on all systems. llvm-svn: 141677
-
Jim Ingham authored
llvm-svn: 141627
-
Jim Ingham authored
type mask. llvm-svn: 141625
-
Jim Ingham authored
rather than the computed effective_name_type_mask. llvm-svn: 141624
-
Johnny Chen authored
llvm-svn: 141593
-
- Oct 08, 2011
-
-
Greg Clayton authored
Changed RangeMap over to use llvm::SmallVector and updated the RangeArray and the RangeDataArray to have an extra "unsigned N" template parameter. Updated the lldb_private::Block to use a RangeArray with a uint32_t for both the function base offset and block range size, and then a 1 for the small vector size since most lexical blocks in DWARF only have 1 range. Updates the DWARFDebugRanges RangeArray to use an unsigned of 2 since most blocks that have more than one range usually have 2. Also updated a DWARFDebugAranges to default their RangeArray to use a SmallVector with unsigned size of 1 since this will take care of the .o files when doing DWARF in .o files and since there really isn't any good size we can guess with. llvm-svn: 141480
-
Jim Ingham authored
llvm-svn: 141468
-
Greg Clayton authored
Added more functionality to Range template classes in RangeMap.h and converted remaining DWARF areas that were using ranges over to this class. Also converted lldb_private::Block to use it. llvm-svn: 141460
-
Sean Callanan authored
by attaching them to the ClangExpressionParser. llvm-svn: 141452
-
Sean Callanan authored
This involved minor changes to the way we report Objective-C methods, as well as cosmetic changes and added parameters for a variety of Clang APIs. llvm-svn: 141437
-
Jim Ingham authored
SymbolFIle (it was done mostly in the BreakpointResolverName resolver before.) Then tailor our searches to the way the indexed maps are laid out. This removes a bunch of test case failures using indexed dSYM's. llvm-svn: 141428
-
Jim Ingham authored
When a function calculates its module, make sure it returns the "real" module, not the linked .o file. llvm-svn: 141424
-
Jim Ingham authored
llvm-svn: 141423
-
Jim Ingham authored
llvm-svn: 141422
-
- Oct 07, 2011
-
-
Greg Clayton authored
llvm-svn: 141387
-
Greg Clayton authored
Re-organized the contents of RangeMap.h to be more concise and also allow for a Range, RangeArray, RangeData (range + data), or a RangeDataArray. We have many range implementations in LLDB and I will be converting over to using the classes in RangeMap.h so we can have one set of code that does ranges and searching of ranges. Fixed up DWARFDebugAranges to use the new range classes. Fixed the enumeration parsing to take a lldb_private::Error to avoid a lot of duplicated code. Now when an invalid enumeration is supplied, an error will be returned and that error will contain a list of the valid enumeration values. llvm-svn: 141382
-
Greg Clayton authored
Since we use address ranges a lot I added a templatized class that allows us to easily control the base address type, the size type, and the data that is stored with each range. It is designed to be populated by appending all needed items, then sorting the resulting list, and optionally minimizing the list when done. I adopted this new list in the DWARFDebugAranges for even further memory savings. llvm-svn: 141352
-
rdar://problem/10226227Greg Clayton authored
Fixed the root cause of what was causing an assertion to fire during single stepping. We had an issue with the inlined stack frames where when we had inlined frames that were not in the first concrete frame where we passed the wrong PC down. We needed to decrement the PC by one for these frames to make sure we are using the same address that did the symbol context lookup. llvm-svn: 141349
-
Greg Clayton authored
llvm-svn: 141348
-
rdar://problem/10226227Greg Clayton authored
Fixed an assertion that was causing a crash. The bug describes a case where we have an inlined block that doesn't contain the frame PC that was used to lookup the symbol context in the first place. This really shouldn't happen, so now we log if we run into this and don't assert. llvm-svn: 141338
-
- Oct 06, 2011
-
-
Johnny Chen authored
llvm-svn: 141307
-
Jason Molenda authored
set up yet, if we're talking to an Apple arm device set the register set based on the arm device's attributes; this is a safe assumption to make in this particular environment. llvm-svn: 141265
-
Greg Clayton authored
(lldb) log enable dwarf lookups This allows us to see when lookups are being done on functions, addresses, and types by both name and regular expresssion. llvm-svn: 141259
-
Greg Clayton authored
Stop spurious "DW_AT_specification(0x%8.8x) has no decl" warnings that were due to not parsing the function types when the function blocks are made and parsed. Cached the Function object's m_type value after it has been calculated. llvm-svn: 141225
-
Greg Clayton authored
"const char *" is NULL. Also cleaned up the display of strings when you have an array of chars that are all NULL. Previously we were showing: ""... We now show: "" llvm-svn: 141223
-
Greg Clayton authored
and statics when no arguments are given. llvm-svn: 141222
-
- Oct 05, 2011
-
-
Johnny Chen authored
watchpoint ignore -i <count> [<watchpt-id | watchpt-id-list>] Add tests of watchpoint ignore_count for command line as well as API. llvm-svn: 141217
-
Greg Clayton authored
using the mutex. llvm-svn: 141160
-
Johnny Chen authored
when newly created threads were subsequently stopped due to breakpoint hit. The stop-hook mechanism delegates to CommandInterpreter::HandleCommands() to execuet the commands. Make sure the execution context is switched only once at the beginning of HandleCommands() only and don't update the context while looping on each individual command to be executed. rdar://problem/10228156 llvm-svn: 141144
-
Greg Clayton authored
index the DWARF. Also fixed an issue with memory accelerator tables with a size of 1 where we would loop infinitely. Added support for parsing the new .apple_namespaces section which gives us a memory hash table for looking up namespaces. llvm-svn: 141128
-
- Oct 03, 2011
-
-
Johnny Chen authored
llvm-svn: 141021
-
- Oct 01, 2011
-
-
Greg Clayton authored
and this implemenation that backs our lldb::SBSourceManager should not be exported. llvm-svn: 140930
-
Greg Clayton authored
not saying that its children are load addresses. llvm-svn: 140921
-
Greg Clayton authored
DWARF errors and warnings. llvm-svn: 140918
-
Jason Molenda authored
an anonymous struct type (which lacks any name). llvm-svn: 140917
-