- Sep 20, 2012
-
-
Jason Molenda authored
get FormatManager.cpp to build on no-python platforms again. llvm-svn: 164284
-
Greg Clayton authored
A patch that allows for mach-o architectures to be specified as "<number>-<number>" where the first number is the cpu type and the second is the cpu subtype. Also added code to allow use of mach-o architectures that aren't in our tables so that symbolication and static file introspection (crashlogs) can work with them. llvm-svn: 164258
-
Greg Clayton authored
Don't get everything when resolving the symbol context of the ObjC Class symbol, just the module + symbol. llvm-svn: 164257
-
- Sep 19, 2012
-
-
Sean Callanan authored
data structures more rapidly. Also added fields for the other data structures in a class. I also fixed a problem where I accidentally used hasExternalLexicalStorage() instead of hasExternalVisibleStorage() to mark an incomplete object. llvm-svn: 164197
-
rdar://problem/11752499Greg Clayton authored
Improve error messages when memory read/write fails. llvm-svn: 164188
-
rdar://problem/12125274Greg Clayton authored
Intentionally leak the module list to avoid unnecessary freeing of modules + object files + symbol files when the program is exiting. llvm-svn: 164184
-
Jason Molenda authored
detect strtoul parse failure instead of return value of 0. <rdar://problem/12198994> llvm-svn: 164183
-
- Sep 18, 2012
-
-
rdar://problem/12188843Enrico Granata authored
<rdar://problem/12188843> Fixing a problem where a Python command created in the same module where the target function is defined causes the help string not to come out llvm-svn: 164172
-
Sean Callanan authored
populate Clang ObjCInterfaceDecls with their ivars, methods, and properties. The default implementation does nothing. I have also made sure that AppleObjCRuntimeV2 creates ObjCInterfaceDecls that actually get queried appropriately. llvm-svn: 164164
-
rdar://problem/12219840Greg Clayton authored
Don't leak mach ports when calling "mach_thread_self()". llvm-svn: 164152
-
Greg Clayton authored
Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification. llvm-svn: 164148
-
rdar://problem/11988289Enrico Granata authored
<rdar://problem/11988289> Making C++ synthetic children provider for NSDictionary and related classes llvm-svn: 164144
-
Enrico Granata authored
Making ClangExpression hold on to a WP to the Process instead of a SP. This fix should enable us to have per-process maps of ClangExpressions without fear of keeping the process alive forever llvm-svn: 164082
-
Jim Ingham authored
llvm-svn: 164081
-
- Sep 17, 2012
-
-
Enrico Granata authored
llvm-svn: 164050
-
Sean Callanan authored
stomped on. llvm-svn: 164049
-
Enrico Granata authored
llvm-svn: 164048
-
- Sep 15, 2012
-
-
Jason Molenda authored
building on no-Python systems again. llvm-svn: 163961
-
Sean Callanan authored
the dynamic and static runtime class tables to construct our isa table. This is putting the runtime in contact with unrealized classes, which we need to deal with in order to get accurate information. That's the next piece of work. <rdar://problem/10986023> llvm-svn: 163957
-
Enrico Granata authored
Fixing a potential crasher where the new C++ synthetic children can return a NULL FrontEnd and cause LLDB to crash. This patch introduces a dummy front-end which the ValueObjectSynthetic can use lacking a real FrontEnd llvm-svn: 163946
-
Jim Ingham authored
<rdar://problem/12304255> llvm-svn: 163943
-
- Sep 14, 2012
-
-
Jim Ingham authored
llvm-svn: 163938
-
Jim Ingham authored
llvm-svn: 163937
-
Jim Ingham authored
llvm-svn: 163936
-
Jim Ingham authored
SBThread::StepOverUntil should run all threads. It is running to breakpoints, so running one thread is likely to cause the target to stall. llvm-svn: 163924
-
Sean Callanan authored
support watchpoints on globals. <rdar://problem/12297238> llvm-svn: 163913
-
Filipe Cabecinhas authored
This may (but shouldn't) break Linux (but I tested and it still worked on FreeBSD). The same shell scripts are now used on Xcode and Makefiles, for generating the SWIG bindings. Some compatibility fixes were applied, too (python path, bash-isms, etc). llvm-svn: 163912
-
rdar://problem/11374963Greg Clayton authored
When attaching on ARM hosted debuggers we were incorrectly setting the triple to "arm-apple-ios". This was happening because in the post attach code, we would lookup the process info through the platform, and if successful, we would get the architecture of the process. This code uses sysctl() calls, but we can only get the CPU type, not the subtype, so we would get ARM for CPU type and nothing for the cpu subtype, so this would map to "arm-apple-ios". I fixed the code to get the cpu subtype from "hw.cpusubtype" which is what we really want for ARM, and not the architecture is already correct. "add-dsym" then works like a charm. I also improved the command output when the architecture changes to show the entire triple instead of just the arch name. llvm-svn: 163868
-
Jim Ingham authored
llvm-svn: 163867
-
Sean Callanan authored
<rdar://problem/12293231> llvm-svn: 163864
-
Sean Callanan authored
them in one place rather than having them replicated across all the potential function wrappers. <rdar://problem/12293880> llvm-svn: 163857
-
Enrico Granata authored
llvm-svn: 163852
-
Greg Clayton authored
llvm-svn: 163851
-
- Sep 13, 2012
-
-
Sean Callanan authored
"target image lookup" a bit better documented by indicating that it takes symbols OR functions. <rdar://problem/12281325> llvm-svn: 163839
-
rdar://problem/11086338Enrico Granata authored
<rdar://problem/11086338> Implementing support for synthetic children generated by running C++ code instead of Python scripts ; Adding a bunch of value-generating APIs to our private code layer ; Providing synthetic children for NSArray llvm-svn: 163818
-
Filipe Cabecinhas authored
llvm-svn: 163800
-
- Sep 12, 2012
-
-
rdar://problem/11374963Greg Clayton authored
Partial fix for the above radar where we now resolve dsym mach-o files within the dSYM bundle when using "add-dsym" through the platform. llvm-svn: 163676
-
Jim Ingham authored
llvm-svn: 163670
-
- Sep 11, 2012
-
-
Sean Callanan authored
information from the Objective-C runtime. This patch takes the old AppleObjCSymbolVendor and replaces it with an AppleObjCTypeVendor, which is much more lightweight. Specifically, the SymbolVendor needs to pretend that there is a backing symbol file for the Types it vends, whereas a TypeVendor only vends bare ClangASTTypes. These ClangASTTypes only need to exist in an ASTContext. The ClangASTSource now falls back to the runtime's TypeVendor (if one exists) if the debug information doesn't find a complete type for a particular Objective-C interface. The runtime's TypeVendor maintains an ASTContext full of types it knows about, and re-uses the ISA-based type query information used by the ValueObjects. Currently, the runtime's TypeVendor doesn't provide useful answers because we haven't yet implemented a way to iterate across all ISAs contained in the target process's runtime. That's the next step. llvm-svn: 163651
-
Filipe Cabecinhas authored
llvm-svn: 163641
-