- 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
-
- 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
-
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
-
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
-
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
-
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
-
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
-
-
Daniel Malea authored
- avoid deadlocks if Broadcaster::SignUpListenersForBroadcaster and Listener::StartListeningForEventSpec are both called concurrently llvm-svn: 180050
-
Matt Kopec authored
This fixes function type resolution for C functions when requesting full function names. llvm-svn: 180048
-
Daniel Malea authored
llvm-svn: 180047
-
rdar://problem/13590152Enrico Granata authored
Providing a dummy RegisterContext to secure against faulty Python OS plugins that do not return a valid RegisterContext The RegisterContextDummy exports a PC with a constant 0xFFFFFFFFFFFFFFFF value llvm-svn: 180033
-
Matt Kopec authored
Do this until we are able to resolve these symbols to their actual implementations without needing runtime support. llvm-svn: 180029
-
- Apr 20, 2013
-
-
Sean Callanan authored
and persistent variables so that they are not treated as remaining in the target process (i.e., having live data) when the process does not allow persistent allocations (e.g., when there is no process or in the case of kernel core files). llvm-svn: 179919
-
Sean Callanan authored
llvm-svn: 179918
-
rdar://problem/13697881Greg Clayton authored
Fixed the GDB remote with the python OS plug-in to not show core threads when they aren't desired and also to have the threads "to the right thing" when continuing. llvm-svn: 179912
-
Greg Clayton authored
llvm-svn: 179910
-
Greg Clayton authored
llvm-svn: 179909
-
Jason Molenda authored
realpathing the executable binary if we fail to find a binary and if it starts with a ~ character, based on feedback from Greg Clayton. llvm-svn: 179904
-
- Apr 19, 2013
-
-
Greg Clayton authored
llvm-svn: 179892
-
Sean Callanan authored
variables in the ValueObject code: - Report an error if the variable does not have a valid address. - Return the contents of the data to GetData(), even if the value is constant. <rdar://problem/13690855> llvm-svn: 179876
-