- Jun 24, 2013
-
-
Sean Callanan authored
doesn't return anything; that's great. We should probably also return rather than trying to access the nonexistent return value. <rdar://problem/14009519> llvm-svn: 184765
-
Ed Maste authored
- Sort functions in the same order - Match whitespace - Remove commetned out code - Make filename in comments match filename llvm-svn: 184746
-
Ed Maste authored
llvm-svn: 184745
-
Ed Maste authored
llvm-svn: 184744
-
Ed Maste authored
Akin to r181712 (88e529b7) of Linux/ProcessMonitor.cpp llvm-svn: 184742
-
Ed Maste authored
Revision r147613 (2341d35) renamed this file with s/Linux/POSIX/, but header guards and comments were not updated to match. llvm-svn: 184741
-
Andy Gibbs authored
Using offsetof to an item within an array is an extension so mark it as such to avoid compiler warnings. llvm-svn: 184738
-
Andy Gibbs authored
llvm-svn: 184737
-
- Jun 22, 2013
-
-
Jim Ingham authored
<rdar://problem/14147303> llvm-svn: 184622
-
Jim Ingham authored
llvm-svn: 184619
-
rdar://problem/14004410Han Ming Ong authored
Remove old GetNextThreadIndexID() from lldb llvm-svn: 184600
-
- Jun 21, 2013
-
-
rdar://problem/13980489Han Ming Ong authored
I added scan type to ‘qGetProfileData’ previously but forgot to update the check to be a substring search. llvm-svn: 184588
-
Enrico Granata authored
- %N = show the name of the variable - %> = show the expression path of the variable llvm-svn: 184502
-
Enrico Granata authored
In thread and frame format strings, it is now allowed to use Python functions to generate part or all of the output text Specifically, the ${target ${process ${thread and ${frame specifiers have been extended to allow a subkeyword .script:<fctName> (e.g. ${frame.script:FooFunction}) The functions are prototyped as def FooFunction(Object,unused) where object is of the respective SB-type (SBTarget for target.script, ... and so on) This has not been implemented for ${var because it would be akin to a Python summary which is already well-defined in LLDB llvm-svn: 184500
-
- Jun 20, 2013
-
-
Jim Ingham authored
to nil objects, it won't work anyway. llvm-svn: 184474
-
Sean Callanan authored
dematerialization of registers that caused conditional breakpoint expressions not to work properly. Also added a testcase. <rdar://problem/14129252> llvm-svn: 184451
-
Greg Clayton authored
llvm-svn: 184390
-
Greg Clayton authored
Unique types a bit more using the clang type to make sure we don't get multiple copies of the same type due to the debug info having multiple types that get uniqued. llvm-svn: 184388
-
- Jun 19, 2013
-
-
Greg Clayton authored
The script was able to point out and save 40 bytes in each lldb_private::Section by being very careful where we need to have virtual destructors and also by re-ordering members. llvm-svn: 184364
-
Andy Gibbs authored
llvm-svn: 184342
-
rdar://problem/14005652Enrico Granata authored
Fixing a bug with the NSString data formatter where some strings would be truncated llvm-svn: 184336
-
Andy Gibbs authored
llvm-svn: 184334
-
Andy Gibbs authored
llvm-svn: 184333
-
Enrico Granata authored
Xcode spawns a new LLDB SBDebugger for each debug session, and this was causing the reloading of python modules to fail across debug sessions (long story short: the module would not be loaded in the current instance of the ScriptInterpreter, but would still be present in sys.modules, hence the import call would just make a copy of it and not run it again Greg's new decorator uncovered the issue since it relies on actually loading the module's code rather than using __lldb_init_module as the active entity) This patch introduces the notion of a local vs. global import and crafts an appropriate command to allow reloading to work across debug sessions llvm-svn: 184279
-
Jim Ingham authored
That's actually not async-signal-clean, but it is a lot safer than Halt... llvm-svn: 184270
-
rdar://problem/14194140Enrico Granata authored
Adding support for correctly extracting children out of vector types for data formatter purposes llvm-svn: 184262
-
Greg Clayton authored
Added the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are: //------------------------------------------------------------------ /// Get all types matching \a type_mask from debug info in this /// module. /// /// @param[in] type_mask /// A bitfield that consists of one or more bits logically OR'ed /// together from the lldb::TypeClass enumeration. This allows /// you to request only structure types, or only class, struct /// and union types. Passing in lldb::eTypeClassAny will return /// all types found in the debug information for this module. /// /// @return /// A list of types in this module that match \a type_mask //------------------------------------------------------------------ lldb::SBTypeList SBModule::GetTypes (uint32_t type_mask) //------------------------------------------------------------------ /// Get all types matching \a type_mask from debug info in this /// compile unit. /// /// @param[in] type_mask /// A bitfield that consists of one or more bits logically OR'ed /// together from the lldb::TypeClass enumeration. This allows /// you to request only structure types, or only class, struct /// and union types. Passing in lldb::eTypeClassAny will return /// all types found in the debug information for this compile /// unit. /// /// @return /// A list of types in this compile unit that match \a type_mask //------------------------------------------------------------------ lldb::SBTypeList SBCompileUnit::GetTypes (uint32_t type_mask = lldb::eTypeClassAny); This lets you request types by filling out a mask that contains one or more bits from the lldb::TypeClass enumerations, so you can only get the types you really want. llvm-svn: 184251
-
rdar://problem/14194128Enrico Granata authored
ClangASTContext was failing to retrieve fields and base class info for ObjC variables This checkin fixes that and adds a test case llvm-svn: 184248
-
- Jun 18, 2013
-
-
Matt Kopec authored
Also, ensure x86_64 watchpoint registers are initialized before they are accessed on the POSIX side. llvm-svn: 184246
-
Jim Ingham authored
neither read nor write. Tighten up the checking so this isn't possible. <rdar://problem/14111167> llvm-svn: 184245
-
Matt Kopec authored
Patch from Ed Maste. llvm-svn: 184241
-
Jason Molenda authored
did a manual "target modules add", it would be a file path. If the kext bundle lookup fails, fall back to calling PlatformDarwin's GetSharedModule which will handle a file path correctly. <rdar://problem/14179858> llvm-svn: 184237
-
Jim Ingham authored
llvm-svn: 184226
-
Adrian Prantl authored
llvm-svn: 184216
-
rdar://problem/12717717Enrico Granata authored
Modifying our data formatters matching algorithm to ensure that "const X*" is treated as equivalent to "X*" Also, a couple improvements to the "lldb types" logging llvm-svn: 184215
-
Enrico Granata authored
e.g. (lldb) pl<TAB> Available completions: platform plugin platform plugin Thanks to Matthew Sorrels for doing work and testing on this issue llvm-svn: 184212
-
Bill Wendling authored
llvm-svn: 184177
-
rdar://problem/13270271Enrico Granata authored
Only add the — (double dash) separator to a command syntax if it has any options to be separated from arguments Also remove the unused Translate() method from CommandObject llvm-svn: 184163
-
rdar://problem/13926101Enrico Granata authored
Allow “command script import” to work with folder names that have a ‘ (tick) in them Kudos to StackOverflow (question 1494399) for the replace_all code! llvm-svn: 184158
-
Greg Clayton authored
3 patches, aiming to improve PE/COFF support: - First patch fix symbol reading (invalid header size from sizeof() == 20 != 18, and various bugfixes such as invalid skipping of auxiliary symbols, 4 bytes shift from beginning, etc...). - Second patch add image_base to section vmaddr offset so that VM addr is in image_base space. - Third patch add support for DWARF section in PECOFF (taken from ELF counterpart), since they are generated by gcc/clang under windows. llvm-svn: 184153
-