- Oct 26, 2011
-
-
Sean Callanan authored
"_cmd", "this", and "self". These variables are handled differently from all other external variables used by the expression. Other variables are used indirectly through the $__lldb_arg operand; only _cmd, this, and self are passed directly through the ABI. There are two modifications: - I added a function to ClangExpressionDeclMap that retrives the value of one of these variables by name; and - I made IRInterpreter fetch these values when needed, and ensured that the proper level of indirection is used. llvm-svn: 143065
-
Greg Clayton authored
llvm-svn: 143056
-
Jim Ingham authored
When completing "help foo bar" if "foo" is not a real command, don't ask its NULL command object to complete the line. llvm-svn: 143047
-
Greg Clayton authored
llvm-svn: 143043
-
Peter Collingbourne authored
Fixes Linux build. llvm-svn: 143038
-
Sean Callanan authored
be set if linking against an LLVM compiled with NDEBUG off. If it is set, we do not enable NDEBUG in any place where we include LLVM headers. llvm-svn: 143036
-
Sean Callanan authored
llvm-svn: 143029
-
Greg Clayton authored
properly marked as valid. Also modified the "memory read" command to be able to intelligently repeat subsequent memory requests, so now you can do: (lldb) memory read --format hex --count 32 0x1000 Then hit enter to keep viewing the memory that follows the last valid request. llvm-svn: 143015
-
Greg Clayton authored
an access specifier set on it, causing an assertion to fire when building with a Debug+Asserts build of clang. llvm-svn: 143010
-
Sean Callanan authored
linked against a debug LLVM, runs a variety of functions -- currently just one -- that verify that the Decls we create are valid. ClangASTContext now calls this verifier whenever it adds a Decl to a DeclContext, and the verifier checks that the AccessSpecifier is sane. llvm-svn: 143000
-
Greg Clayton authored
lldb_private::Error objects the rules are: - short strings that don't start with a capitol letter unless the name is a class or anything else that is always capitolized - no trailing newline character - should be one line if possible Implemented a first pass at adding "--gdb-format" support to anything that accepts format with optional size/count. llvm-svn: 142999
-
Johnny Chen authored
llvm-svn: 142996
-
Johnny Chen authored
the run command till the first breakpoint hit. Example: $ ./dotest.py -v +b -n -x '-F Driver::MainLoop()' -p TestStartupDelays.py 1: test_startup_delay (TestStartupDelays.StartupDelaysBench) Test start up delays creating a target and setting a breakpoint. ... lldb startup delay (create fresh target) benchmark: Avg: 0.124496 (Laps: 30, Total Elapsed Time: 3.734883) lldb startup delay (set first breakpoint) benchmark: Avg: 0.220828 (Laps: 30, Total Elapsed Time: 6.624847) lldb startup delay (run to breakpoint) benchmark: Avg: 0.478159 (Laps: 30, Total Elapsed Time: 14.344774) ok llvm-svn: 142993
-
- Oct 25, 2011
-
-
Sean Callanan authored
types of the same name. If a local variable with the given name is found (and we are not searching a specific namespace) we stop right then and there and report it. llvm-svn: 142962
-
Johnny Chen authored
An example (with /Developer/usr/bin/lldb vs. /usr/bin/gdb): [13:05:04] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v +b -n -p TestCompileRunToBreakpointTurnaround.py 1: test_run_lldb_then_gdb (TestCompileRunToBreakpointTurnaround.CompileRunToBreakpointBench) Benchmark turnaround time with lldb vs. gdb. ... lldb turnaround benchmark: Avg: 4.574600 (Laps: 3, Total Elapsed Time: 13.723799) gdb turnaround benchmark: Avg: 7.966713 (Laps: 3, Total Elapsed Time: 23.900139) lldb_avg/gdb_avg: 0.574214 ok ---------------------------------------------------------------------- Ran 1 test in 55.462s OK llvm-svn: 142949
-
Sean Callanan authored
parser. Now expression like the following work as expected: - (lldb) expr struct { int a; int b; } $blah = { 10, 20 } <no result> (lldb) expr $blah (<anonymous struct at Parse:6:5>) $blah = { (int) a = 10 (int) b = 20 } - Now the IRForTarget subsystem knows how to handle static initializers of various composite types. Also removed an unnecessary parameter from ClangExpressionDeclMap::GetFunctionInfo. llvm-svn: 142936
-
Sean Callanan authored
for debug information that occasionally gets the const-ness of member functions wrong. We used to demangle the name, add "const," and remangle it; now we handle the mangled name directly, which is more robust. llvm-svn: 142933
-
Johnny Chen authored
llvm-svn: 142932
-
Greg Clayton authored
OptionGroupFormat. Updated OptionGroupFormat to be able to also use the "--size" and "--count" options. Commands that use a OptionGroupFormat instance can choose which of the options they want by initializing OptionGroupFormat accordingly. Clients can either get only the "--format", "--format" + "--size", or "--format" + "--size" + "--count". This is in preparation for upcoming chnages where there are alternate ways (GDB format specification) to set a format. llvm-svn: 142911
-
Jason Molenda authored
style of the other regexp command aliases. llvm-svn: 142902
-
Jason Molenda authored
llvm-svn: 142900
-
Jason Molenda authored
Add new "Examining Variables" section. Updated a few command entries to match current lldb behavior. llvm-svn: 142898
-
rdar://problem/10335756Greg Clayton authored
Fixed an issue where bad DWARF from clang would get recycled from DWARF back into types and cause clang to assert and die, killing the lldb binary, when it tried to used the type in an expression. llvm-svn: 142897
-
Greg Clayton authored
function and having it not require both a bool and a quote char to fill in. We intend to get rid of this functionality when we rewrite the command interpreter for streams eventually, but not for now. llvm-svn: 142888
-
Johnny Chen authored
llvm-svn: 142874
-
Johnny Chen authored
command in the '- Hook id' header. This should improve readbility of the 'display' command if, for example, we have issued 'display a' and 'display b' which turn into "target stop-hook add -o 'expr -- a'" and "target stop-hook add -o 'expr -- b'". Plus some minor change in TestAbbreviations.py to conditionalize the platform-specific checkings of the "image list" output. llvm-svn: 142868
-
Johnny Chen authored
llvm-svn: 142858
-
Johnny Chen authored
many commands remain available even after we add/delte commands in the future. llvm-svn: 142857
-
- Oct 24, 2011
-
-
Johnny Chen authored
rdar://problem/10334911 llvm-svn: 142839
-
Jim Ingham authored
llvm-svn: 142834
-
Jim Ingham authored
llvm-svn: 142833
-
Johnny Chen authored
Fix test regressions due to the addition of 'display' alias to the top level commands, which conflicts with the original 'dis' -> 'disassemble' unique expansion. Change it to 'disass' now. llvm-svn: 142825
-
Johnny Chen authored
Removed the @expectedFailure decorators from test cases. They have been fixed with the r142717 check-in. llvm-svn: 142823
-
Enrico Granata authored
Decoupling of lock-related code from the core of ScriptInterpreterPython. All that concerns locking the Python interpreter is now delegated to the internal ScriptInterpreterPython::Locker class. Several changes in ScriptInterpreterPython to accommodate this new pattern. llvm-svn: 142802
-
- Oct 23, 2011
-
-
Benjamin Kramer authored
Python.h includes a ton of macros that can cause weird behavior down the road. llvm-svn: 142754
-
Benjamin Kramer authored
llvm-svn: 142753
-
- Oct 22, 2011
-
-
Greg Clayton authored
llvm-svn: 142718
-
Greg Clayton authored
classes in the expression parser. llvm-svn: 142717
-
Jason Molenda authored
commands. llvm-svn: 142715
-
Sean Callanan authored
correctly even after the process has quit. llvm-svn: 142712
-