- Aug 21, 2010
-
-
Greg Clayton authored
for Debug builds. I accidentally checked this in with my last round of changes. llvm-svn: 111743
-
Greg Clayton authored
to spawn a thread for each process that is being monitored. Previously LLDB would spawn a single thread that would wait for any child process which isn't ok to do as a shared library (LLDB.framework on Mac OSX, or lldb.so on linux). The old single thread used to call wait4() with a pid of -1 which could cause it to reap child processes that it shouldn't have. Re-wrote the way Function blocks are handles. Previously I attempted to keep all blocks in a single memory allocation (in a std::vector). This made the code somewhat efficient, but hard to work with. I got rid of the old BlockList class, and went to a straight parent with children relationship. This new approach will allow for partial parsing of the blocks within a function. llvm-svn: 111706
-
- Aug 20, 2010
-
-
Johnny Chen authored
And converted the rest of the test cases to runCmd()/expect(). llvm-svn: 111677
-
Johnny Chen authored
llvm-svn: 111671
-
Johnny Chen authored
llvm-svn: 111666
-
Johnny Chen authored
llvm-svn: 111658
-
Johnny Chen authored
llvm-svn: 111652
-
Jim Ingham authored
Added "source list -n" so you can list by symbol name. Moved "--count" from "-n" to "-c". Added a -s option so you can restrict the source listing to a particular shared library. llvm-svn: 111608
-
Jim Ingham authored
llvm-svn: 111607
-
Jim Ingham authored
Add methods to Function to get the first and last source lines of the function, and to get whether this Function is an inlined instance or not. llvm-svn: 111606
-
Jim Ingham authored
Remove redundant call to ParseCompileUnitLineTable. The call to sc.comp_unit->GetLineTable() will parse the line table if it hasn't been read in. llvm-svn: 111605
-
Sean Callanan authored
expression parser. There shouldn't be four separate classes encapsulating a variable. ClangExpressionVariable is now meant to be the container for all variable information. It has several optional components that hold data for different subsystems. ClangPersistentVariable has been removed; we now use ClangExpressionVariable instead. llvm-svn: 111600
-
Johnny Chen authored
llvm-svn: 111593
-
Johnny Chen authored
llvm-svn: 111587
-
Johnny Chen authored
its return status into lldbtest.TestBase.runCmd(); and runCmd() in combination with checking the output against matching substrings (including startswith) into lldbtest.TestBase.expect(). TestUnsignedTypes.py is refactored to use the abstracted APIs. Other test cases to be modified later. llvm-svn: 111572
-
- Aug 19, 2010
-
-
Greg Clayton authored
Fixed a long delay in shutdown times by invalidating m_private_state_thread right before the private state thread (which calls "void *Process::RunPrivateStateThread ()") exits. llvm-svn: 111567
-
Johnny Chen authored
llvm-svn: 111536
-
- Aug 18, 2010
-
-
Johnny Chen authored
llvm-svn: 111429
-
Jim Ingham authored
Some Block:: methods wandered to the end of the file after the BlockList:: methods. I moved them back. llvm-svn: 111396
-
Sean Callanan authored
in the IR transformation passes. llvm-svn: 111388
-
Greg Clayton authored
C builtin type conversion. llvm-svn: 111381
-
Greg Clayton authored
order and address size correctly when the value comes from a file address. Values have "file" addresses when they are globals and the debug information specifies that they live in the object file at a given address (DWARF will represent this as a location "DW_OP_addr <addr>"). This causes global pointers to correctly extract their children on 64 bit programs. llvm-svn: 111380
-
Jim Ingham authored
Added call stacks with inlined functions higher on the stack, and non-inlined functions at the bottom. llvm-svn: 111379
-
Greg Clayton authored
llvm-svn: 111378
-
Greg Clayton authored
objects can own one of these objects and assign a valid value at a later point. llvm-svn: 111377
-
Sean Callanan authored
undefined, unused function from its API. llvm-svn: 111335
-
Sean Callanan authored
documentation to IRForTarget. llvm-svn: 111323
-
Greg Clayton authored
the resulting function from the .o file DWARF didn't make it into the final executable. I recently changed the way FindFunctions() worked in the DWARF with debug map case that caused regressions in our test suite for dead stripped functions. The previous changes allowed us to leverage the powerful searching added to the DWARF parser (search by full name, basename, selector, or method name), without having to chop up the symbol names from the symbol table and do any special parsing of the names to extract the basename, selector or method. Previously we would look through the symbol table for matches first, then try and find the .o file with DWARF for that symbol and only search those .o files. Now we let the DWARF for the .o file search using the new search styles, and filter out any functions that didn't make it. llvm-svn: 111322
-
Johnny Chen authored
run to stderr, instead of stdout. The same as what the unittest framework uses. llvm-svn: 111319
-
Sean Callanan authored
llvm-svn: 111313
-
- Aug 17, 2010
-
-
Jim Ingham authored
llvm-svn: 111302
-
Johnny Chen authored
additional env variables. llvm-svn: 111295
-
Johnny Chen authored
llvm-svn: 111294
-
Sean Callanan authored
llvm-svn: 111276
-
Jim Ingham authored
llvm-svn: 111216
-
Greg Clayton authored
llvm-svn: 111215
-
Sean Callanan authored
API fixes. llvm-svn: 111202
-
Johnny Chen authored
GDB_REMOTE_LOG which specifies the log file pathname. llvm-svn: 111198
-
Sean Callanan authored
cleanup here, since this is a new and fairly clean class already. llvm-svn: 111194
-
- Aug 16, 2010
-
-
Johnny Chen authored
cleanup before finish into the test fixture in lldbtest.TestBase.tearDown(). Derivatives of TestBase is responsible for setting self.runStarted to True if an inferior process has been started. llvm-svn: 111188
-