- 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
-
Johnny Chen authored
to be able to specify the runhook(s) to bring the debug session to a certain state before running the benchmarking logic. An example, ./dotest.py -v -t +b -k 'process attach -n Mail' -k 'thread backtrace all' -p TestRunHooksThenSteppings.py spawns lldb, attaches to the 'Mail' application, does a backtrace for all threads, and then runs the benchmark to step the inferior multiple times. llvm-svn: 141740
-
- Oct 11, 2011
-
-
Johnny Chen authored
llvm-svn: 141712
-
Johnny Chen authored
Patch by Dawn. llvm-svn: 141711
-
Greg Clayton authored
llvm-svn: 141707
-
Johnny Chen authored
Add documentation on providing the 'cd' and 'pwd' commands to lldb with the help of the embedded Python interpreter and the 'command regex' command. llvm-svn: 141698
-
Greg Clayton authored
builds on all systems. llvm-svn: 141677
-
Jim Ingham authored
classes & namespaces. llvm-svn: 141629
-
Jim Ingham authored
llvm-svn: 141627
-
Johnny Chen authored
for the debugger to execute for certain kind of tests (for example, a benchmark). A list of runhooks can be used to steer the debugger into the desired state before more actions can be performed. llvm-svn: 141626
-
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
Recent changes in lldb inlining robustness seem to have fixed it. llvm-svn: 141595
-
Johnny Chen authored
llvm-svn: 141593
-
Johnny Chen authored
and the breakpoint specification for the benchmark purpose. This is used by TestSteppingSpeed.py to benchmark the lldb stepping speed. Without '-e' and 'x' specified, the test defaults to run the built lldb against itself and stopped on Driver::MainLoop, then stepping for 50 times. rdar://problem/7511193 llvm-svn: 141584
-
- Oct 10, 2011
-
-
Johnny Chen authored
llvm-svn: 141556
-
Johnny Chen authored
llvm-svn: 141554
-
Greg Clayton authored
llvm-svn: 141546
-
- Oct 09, 2011
-
-
Greg Clayton authored
llvm-svn: 141504
-
- 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
-
Greg Clayton authored
Added some debug code that can verify that all RangeMap.h maps are sorted when needed since RangeArray and RangeDataArray instantiations depend on it. I ran the test suite with ASSERT_RANGEMAP_ARE_SORTED defined and I got no assertions, so I disabled it prior to checkin. llvm-svn: 141478
-
Greg Clayton authored
llvm-svn: 141477
-
Greg Clayton authored
llvm-svn: 141469
-
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
-
Johnny Chen authored
llvm-svn: 141443
-
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
llvm-svn: 141431
-
Jim Ingham authored
llvm-svn: 141430
-
Jim Ingham authored
llvm-svn: 141429
-
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
-
Johnny Chen authored
If we spawn an lldb process for test (via pexpect), do not load the init file unless told otherwise. Set up self.lldbOption to be "--no-lldbibit" unless env variable NO_LLDBIBIT is defined and equals "NO". Also add "-nx" to gdb spawned. llvm-svn: 141384
-
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
-
Jim Ingham authored
llvm-svn: 141375
-