- Dec 12, 2012
-
-
Sean Callanan authored
<rdar://problem/12861963> <rdar://problem/12861904> llvm-svn: 169997
-
Greg Clayton authored
Allow LLDB to work with dSYM files that have a DWARF compile unit with nothing else to support clang's new -gline-tables-only mode of compiling. llvm-svn: 169994
-
Enrico Granata authored
the option to print the runtime-specific description has been modified in the frame variable, memory read and expression command. All three commands now support a --object-description option, with a shortcut of -O (uppercase letter o) This is a breaking change: frame variable used --objc as the long option name expression used -o as a shortcut memory read uses --objd as the long option name Hopefully, most users won't be affected by the change since people tend to access "expression --object-description" under the alias "po" which still works The test suite has been tweaked accordingly. llvm-svn: 169961
-
Jason Molenda authored
to track any architecture setting there. llvm-svn: 169958
-
rdar://problem/12780507Greg Clayton authored
Fix add-dsym ("target symbols add") to correctly add a dSYM file when the target arch doesn't match the arch of the module. llvm-svn: 169952
-
- Dec 11, 2012
-
-
Enrico Granata authored
Adding a validation callback mechanism to OptionValueString (such a feature might theoretically be added to the general OptionValue base class should the need arise) Using this mechanism, making sure that the options to pass a summary string or a named summary to frame variable do not have invalid values <rdar://problem/11576143> llvm-svn: 169927
-
Sean Callanan authored
"self" when those pointers are in registers. Previously in this case the IRInterpreter would handle them just as if the user had typed in "$rdi", which isn't safe because $rdi is passed in through the argument struct. Now we correctly break out all three cases (i.e., normal variables in registers, $reg, and this/self), and handle them in a way that's a little bit easier to read and change. This results in more accurate printing of "this" and "self" pointers all around. I have strengthened the optimized-code test case for Objective-C to ensure that we catch regressions in this area reliably in the future. <rdar://problem/12693963> llvm-svn: 169924
-
Jim Ingham authored
<rdar://problem/10976636> llvm-svn: 169810
-
rdar://problem/12639506Enrico Granata authored
Make sure that the user's choice of a format for dumping aggregate types is persisted to child members llvm-svn: 169809
-
Jason Molenda authored
make it clear that this is the list of callee-saved registers, add reference to the ABI doc that this comes from. llvm-svn: 169807
-
rdar://problem/12842032Greg Clayton authored
Don't load __LINKEDIT segments when dynamically loading kexts. llvm-svn: 169806
-
Han Ming Ong authored
llvm-svn: 169799
-
-
rdar://problem/12850287Han Ming Ong authored
When there is XPC connection error, we will report it now. llvm-svn: 169787
-
- Dec 10, 2012
-
-
rdar://problem/11844604Greg Clayton authored
When displaying function.name-with-args format will now print "varname=<unavailable>" instead of omitting argument names and values when there is an error reading the value. llvm-svn: 169781
-
Daniel Malea authored
- gcc does not like -fno-rtti mixed with dynamic_cast<> (in cxa_demangle.cpp) llvm-svn: 169767
-
rdar://problem/12848118Enrico Granata authored
Making MightHaveChildren() always return true regardless for our own data formatters This is meant to optimize performance for common most-often-not-empty container classes llvm-svn: 169759
-
rdar://problem/12827031Greg Clayton authored
Fix the OptionValueFileSpec option value to correctly get the file path when trailing spaces are on the path. The "settings set" command uses the OptionValueFileSpec class to set file paths and if extra spaces are at the end it will include those in the paths. Now we chop up the value send to to OptionValueFileSpec::SetValueFromCString(...) function with "lldb_private::Args" and give an appropriate error if more than one path is used. It also allows for quotes to be used when specifying the path. llvm-svn: 169753
-
rdar://problem/12817233Enrico Granata authored
Change the wording of NSNumber summary from absurd value to unexpected value when a tagged pointer shows up that does not match our knowledge of the internals llvm-svn: 169751
-
Greg Clayton authored
lldb.target lldb.process lldb.thread lldb.frame are initialized to at least contain empty lldb classes in case some python gets imported that uses them. llvm-svn: 169750
-
- Dec 08, 2012
-
-
Jim Ingham authored
Even when we aren’t going to init all the lldb.frame, etc, globals, init lldb.debugger, since each script interpreter is tied to just one debugger. llvm-svn: 169663
-
Filipe Cabecinhas authored
llvm-svn: 169661
-
Greg Clayton authored
Make sure to check for DW_AT_linkage_name to get the mangled name in the DWARF along with the older DW_AT_MIPS_linkage_name attribute. llvm-svn: 169657
-
Greg Clayton authored
lldb::SBType SBType::GetCanonicalType(); llvm-svn: 169655
-
- Dec 07, 2012
-
-
Daniel Malea authored
- remove unused members - add NO_PEDANTIC to selected Makefiles - fix return values (removed NULL as needed) - disable warning about four-char-constants - remove unneeded const from operator*() declaration - add missing lambda function return types - fix printf() with no format string - change sizeof to use a type name instead of variable name - fix Linux ProcessMonitor.cpp to be 32/64 bit friendly - disable warnings emitted by swig-generated C++ code Patch by Matt Kopec! llvm-svn: 169645
-
Daniel Malea authored
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations Patch by Matt Kopec! llvm-svn: 169633
-
Jim Ingham authored
Now that we set ThreadPlanCallFunction to private in the constructor, it is confusing that we set it again in client code after creating the plans. So remove those unnecessary calls. llvm-svn: 169625
-
rdar://problem/10903854Greg Clayton authored
log enable now resolves the "--file" option in case it contains ~. llvm-svn: 169623
-
Andrew Kaylor authored
Set ThreadPlanCallFunction to private in ConstructorSetup. This fixes a problem on Linux where 'continue' was misfiring after an expression evaluation when stopped at a breakpoint. The problem was that InferiorCallMmap was not setting its ThreadPlanCallFunction to private and so the completion of that thread plan appeared to be the stop reason and therefore the 'continue' operation failed to step over the breakpoint. The SetPrivate call is being put in ThreadPlanCallFunction rather than InferiorCallMmap to make the solution more general. llvm-svn: 169618
-
Andrew Kaylor authored
Fix Test11588.py on Linux. The test was failing because the synthetic type fields were resolving to int instead of long. A similar change was made in r155144 to eliminate the type specification for an earlier check in this test, so it seemed appropriate here too. llvm-svn: 169615
-
Jim Ingham authored
Separate initing the stdout/stderr for running the Python Script interpreter from initing the lldb.target/frame/etc globals, and only do the latter when it makes sense to. <rdar://problem/12554049> llvm-svn: 169614
-
Jim Ingham authored
Take the Target API lock before letting the Python code start to work constructing threads, otherwise we will risk a lock-inversion deadlock between the thread list and the API mutex. <rdar://problem/12554049> llvm-svn: 169612
-
rdar://problem/12831670Jason Molenda authored
When using the same-device optimization for shared cache libraries, if we have an invalid load address for __LINKEDIT, don't try to read anything out of lldb's own address space. Reading it out of the remote address space will fail gracefully if we have bad addresses but reading it out of lldb's own address space will result in a crash. llvm-svn: 169582
-
rdar://problem/8908550Greg Clayton authored
Added "--address" as an available option for "source list". llvm-svn: 169567
-
rdar://problem/12827789Greg Clayton authored
Be sure to load dSYM files when the object file is in memory only. llvm-svn: 169560
-
- Dec 06, 2012
-
-
rdar://problem/12820334Greg Clayton authored
I modified the "Args::StringtoAddress(...)" function to be able to evaluate address expressions. This is now used for any command line arguments or options that takes addresses like: memory read <addr> [<end-addr>] memory write <addr> breakpoint set --address <addr> disassemble --start-address <addr> --end-address <addr> It calls the expression parser to evaluate the address expression and will also work around the issue where the compiler doesn't like to add offsets to function pointers (which is what happens when you try to evaluate "main + 12"). So there is a temp fix in the Args::StringtoAddress() to work around this until we can get special compiler support for debug expressions with function pointers. llvm-svn: 169556
-
Jason Molenda authored
llvm-svn: 169552
-
Jim Ingham authored
llvm-svn: 169549
-
Daniel Malea authored
llvm-svn: 169515
-
Jason Molenda authored
RegisterIsCalleeSaved. Add ebp back to the list of registers that are callee saved. <rdar://problem/12817918> llvm-svn: 169466
-