- Apr 25, 2013
-
-
Greg Clayton authored
Added the ability to extract a ModuleSpecList (a new class) from an ObjectFile. This is designed to be used when you have an object file that contains one or more architectures (MacOSX universal (fat) files) and/or one or more objects (BSD archive (.a files)). There is a new static ObjectFile function you can call: size_t ObjectFile::GetModuleSpecifications (const FileSpec &file, lldb::offset_t file_offset, ModuleSpecList &specs) This will fill in "specs" which the details of all the module specs (file + arch + UUID (if there is one) + object name (for BSD archive objects eventually) + file offset to the object in question). This helps us when a user specifies a file that contains a single architecture, and also helps us when we are given a debug symbol file (like a dSYM file on MacOSX) that contains one or more architectures and we need to be able to match it up to an existing Module that has no debug info. llvm-svn: 180224
-
Greg Clayton authored
llvm-svn: 180223
-
- Apr 24, 2013
-
-
Enrico Granata authored
See: http://stackoverflow.com/questions/16166897/c-how-to-obtain-address-of-stdvector-object-in-lldb-xcode The user was trying to obtain the address-of an std::vector and the experience was more painful than necessary because data formatters were kicking in for vector* objects We got this right for libc++ - we should get it right for libstdc++ too llvm-svn: 180219
-
rdar://problem/13209140Enrico Granata authored
“plugin load” tries to be more helpful when it fails to load a plugin llvm-svn: 180218
-
Sean Callanan authored
sent to "super". <rdar://problem/13042260> llvm-svn: 180217
-
Jason Molenda authored
(normally undefined) as indicating a breakpoint hit, in addition to the normal (EXC_BREAKPOINT, EXC_ARM_BREAKPOINT) pair. <rdar://problem/13730366> llvm-svn: 180216
-
Sean Callanan authored
<rdar://problem/12977827> llvm-svn: 180215
-
Sean Callanan authored
llvm-svn: 180212
-
Sean Callanan authored
out of the runtime. This allows calling static methods on classes whose symbols have been stripped out of the binary. <rdar://problem/12042992> llvm-svn: 180210
-
rdar://problem/13665446Greg Clayton authored
Pass the user set target.env-vars when launching through a terminal. llvm-svn: 180201
-
Enrico Granata authored
llvm-svn: 180199
-
Sean Callanan authored
not find multiple functions with the same name but different types. Now we keep track of what types we've already reported for a function and only elide functions if we've already reported a conflicting one. Also added a test case. <rdar://problem/11367837> llvm-svn: 180167
-
Daniel Malea authored
llvm-svn: 180158
-
Enrico Granata authored
llvm-svn: 180156
-
rdar://problem/13298695Greg Clayton authored
Fixed LLDB to be able to correctly parse template parameters that have no name and no type. This can be triggered by the following LLVM/Clang code: template <typename T, typename = void> class SmallVectorTemplateCommon : public SmallVectorBase { The “typename = void” was emitting DWARF with an empty DW_AT_name and no DW_AT_type. We now correctly infer that no DW_AT_type means “void” and that an empty name is ok. This means you can now call functions on things that inherit from SmallVectorTemplateCommon. llvm-svn: 180155
-
Jason Molenda authored
llvm-svn: 180154
-
- Apr 23, 2013
-
-
Greg Clayton authored
Be sure to print out the fully mangled name when we are unable to find a function to call so we can easily look for this symbol if needed. llvm-svn: 180151
-
Andrew Kaylor authored
llvm-svn: 180149
-
Enrico Granata authored
llvm-svn: 180148
-
Ashok Thirumurthi authored
- Includes tests that write, read and verify vector register content. Reviewed by: Daniel Malea llvm-svn: 180143
-
Enrico Granata authored
llvm-svn: 180142
-
Enrico Granata authored
The new ReadStringFromMemory() API does not work correctly with NSStrings that have an explicit length and no NULL terminator This checkin reverts NSString to the old behavior when appropriate, and cleans up the syntax to call the UTF Reader&Dumper function Incidentally, add a "-d" command-line flag to redo.py with the same semantics as "-d" in dotest.py llvm-svn: 180141
-
Enrico Granata authored
Splitting the appkit data formatters test in smaller test cases - this should enable us to get a more detailed perspective on which individual data formatters are broken llvm-svn: 180128
-
Daniel Malea authored
- LLDB C++ API requires C++11 - provide required -std=c++11 flag if none is specified llvm-svn: 180126
-
Matt Kopec authored
llvm-svn: 180117
-
Daniel Malea authored
Patch by Yacine Belkadi! When __GLIBC__ is defined, optind gets initialized to 0. So for the first parsed option, parse_start is 0, too. If this option has no argument (Like "--continue" of "process attach"), then the position stored is 0, instead of 1. This prevents the completion later on in Options::HandleOptionCompletion() because the opt_pos doesn't match the cursor_index. Fix that by getting the option's position from the value of optind, as it's done for the other types of options. Re-enable test_process_attach_dash_dash_con() on Linux. No regressions detected on Mac OS X (in TestCompletion.py) llvm-svn: 180114
-
Ashok Thirumurthi authored
- Includes tests that write, verify and restore floating-point register content using SBFrame. Reviewed by: Daniel Malea llvm-svn: 180111
-
Ashok Thirumurthi authored
and a failing test for register expressions. Also factors out common setup code in preparation to add a few new tests. Reviewed by: Daniel Malea llvm-svn: 180109
-
Sylvestre Ledru authored
llvm-svn: 180095
-
Jason Molenda authored
llvm-svn: 180086
-
Jason Molenda authored
lldb-179 version numberings and the new lldb-300 version numberings. Remove the pretense that someone might run this from the command line; this is only used from within a live lldb debug session. Fix the loading so it can be loaded via "script import lldb.macosx" or the script can be loaded individually like "command script import unwind_diagnose.py" llvm-svn: 180085
-
Jason Molenda authored
unwind instructions for a function/symbol which contains that address. Update the unwind_diagnose.py script to use this instead of doing image show-unwind by name to avoid cases where there are multiple name definitions. llvm-svn: 180079
-
Jason Molenda authored
the lldb.macosx folder. llvm-svn: 180078
-
Jason Molenda authored
It will be installed in the LLDB.framework and can be loaded with (lldb) script import lldb.macosx after which a "unwind-diagnose" command will be registered. Select the thread which has a bad backtrace and run this command -- a lot of information about the stack frames, and an alternate backtrace algorithm, will be used. The information will often be sufficient for a remote person to figure out why the backtrace failed. <rdar://problem/13679300> llvm-svn: 180077
-
rdar://problem/13437949Enrico Granata authored
Making sure that CF*{Array|Dictionary}Ref provide synthetic children correctly. llvm-svn: 180074
-
Enrico Granata authored
llvm-svn: 180071
-
Enrico Granata authored
Removing these namespace { ... } declarations (but still keeping the helper *Impl objects outside of namespace lldb proper) llvm-svn: 180067
-
Daniel Malea authored
llvm-svn: 180061
-
- Apr 22, 2013
-
-
Enrico Granata authored
llvm-svn: 180053
-
Daniel Malea authored
- avoid deadlocks if Broadcaster::SignUpListenersForBroadcaster and Listener::StartListeningForEventSpec are both called concurrently llvm-svn: 180050
-