- Jul 03, 2010
-
-
Johnny Chen authored
module lldbtest.py and refactored the existing test cases to derive from the abstract base class lldbtest.TestBase. MOdified the test driver (dotest.py and dotest.pl) to set up additional PYTHONPATH component for locating the lldbtest module, which sits in the same directory. llvm-svn: 107563
-
Sean Callanan authored
prepare IR for execution in the target. Wired the expression command to use this IR transformer when conversion to DWARF fails, and wired conversion to DWARF to always fail (well, we don't generate any DWARF...) llvm-svn: 107559
-
Johnny Chen authored
llvm-svn: 107545
-
Greg Clayton authored
is quite gnarly code and there is no good way to clean it up. I will have Jason look at a fix for this. llvm-svn: 107539
-
Sean Callanan authored
block labels) and produce cleaner IR (by removing the thread-safe statics guards) llvm-svn: 107528
-
Johnny Chen authored
llvm-svn: 107525
-
Johnny Chen authored
global scopes. llvm-svn: 107522
-
- Jul 02, 2010
-
-
Sean Callanan authored
llvm-svn: 107518
-
Sean Callanan authored
convert IR to DWARF. So far, this pass only performs a depth-first traversal of the IR, logging each basic block as it finds it. llvm-svn: 107515
-
Johnny Chen authored
done if the environment variable LLDB_LOG is defined. llvm-svn: 107508
-
Eli Friedman authored
llvm-svn: 107502
-
Eli Friedman authored
compiling lldb. Someone else might try to improve it, though. :) llvm-svn: 107501
-
Eli Friedman authored
llvm-svn: 107499
-
Greg Clayton authored
llvm-svn: 107494
-
Sean Callanan authored
llvm-svn: 107460
-
Greg Clayton authored
- fixed 3 posix spawn attributes leaks - fixed us always leaking CXXBaseSpecifier objects when we create class base classes. Clang apparently copies the base classes we pass in. Fixed some code formatting in ClangASTContext.cpp. llvm-svn: 107459
-
Jim Ingham authored
llvm-svn: 107457
-
Jim Ingham authored
llvm-svn: 107456
-
Jim Ingham authored
Add user name completion to the file completer. llvm-svn: 107455
-
Greg Clayton authored
removing it didn't cause any performance loss, and leaks were showing up when run under instruments when we tried to re-use the buffer. We are now leak free and still just as performant. llvm-svn: 107453
-
Johnny Chen authored
Use this script to visit each python test case under the specified directory and run python unittest.main() on each test case. llvm-svn: 107447
-
Johnny Chen authored
is defined. Use ${LLDB_LOG} to specify the log file. Create a singleton SBDebugger in the lldb namespace, that gets used when running the entire test suite. llvm-svn: 107445
-
- Jul 01, 2010
-
-
Sean Callanan authored
an expression, adding code to put the value of the last expression (if there is one) into a variable and write the address of that variable to a global pointer. llvm-svn: 107419
-
Greg Clayton authored
llvm-svn: 107413
-
Jim Ingham authored
llvm-svn: 107410
-
Greg Clayton authored
Did a bit of code formatting and cleanup. llvm-svn: 107403
-
Johnny Chen authored
Left some and added some print statements for debugging purpose. llvm-svn: 107386
-
Jim Ingham authored
Changed the file completion to deal with this, and FileSpec::Resolve now resolves all user names (not just ~/). llvm-svn: 107370
-
Greg Clayton authored
that are in the disassembly comments since most of them are in the same module (shared library). Fixed a crasher that could happen when disassembling special section data. Added an address dump style that shows the symbol context without the module (used in the disassembly code). llvm-svn: 107366
-
Johnny Chen authored
this seems to alleviate the intermittent failure observed while running the whole test suite. llvm-svn: 107357
-
Greg Clayton authored
llvm-svn: 107352
-
Greg Clayton authored
Added the ability to read memory from the target's object files when we aren't running, so disassembling works before you run! Cleaned up the API to lldb_private::Target::ReadMemory(). Cleaned up the API to the Disassembler to use actual "lldb_private::Address" objects instead of just an "addr_t". This is nice because the Address objects when resolved carry along their section and module which can get us the object file. This allows Target::ReadMemory to be used when we are not running. Added a new lldb_private::Address dump style: DumpStyleDetailedSymbolContext This will show a full breakdown of what an address points to. To see some sample output, execute a "image lookup --address <addr>". Fixed SymbolContext::DumpStopContext(...) to not require a live process in order to be able to print function and symbol offsets. llvm-svn: 107350
-
Johnny Chen authored
llvm-svn: 107333
-
Johnny Chen authored
do 'variable list this' command when stopped. Applied some cleanup on TestArrayTypes.py. In particular, specify the absolute path to the object file in order not to confuse the debugger. llvm-svn: 107330
-
- Jun 30, 2010
-
-
Johnny Chen authored
llvm-svn: 107318
-
Caroline Tice authored
Add functions to look up debugger by id Add global variable to lldb python module, to hold debugger id Modify embedded Python interpreter to update the global variable with the id of its current debugger. Modify the char ** typemap definition in lldb.swig to accept 'None' (for NULL) as a valid value. The point of all this is so that, when you drop into the embedded interpreter from the command interpreter (or when doing Python-based breakpoint commands), there is a way for the Python side to find/get the correct debugger instance ( by checking debugger_unique_id, then calling SBDebugger::FindDebuggerWithID on it). llvm-svn: 107287
-
Benjamin Kramer authored
llvm-svn: 107281
-
Jim Ingham authored
Add a way for the completers to say whether the completed argument should have a space inserted after is or not. Added the file name completer to the "file" command. llvm-svn: 107247
-
Johnny Chen authored
llvm-svn: 107221
-
Johnny Chen authored
Also modified dotest.py so that it sets the LLDB_TEST environment variable so that individual test cases can locate their supporting files correctly. llvm-svn: 107220
-