- Feb 15, 2012
-
-
Sean Callanan authored
JIT when printing the values of registers (e.g., "expr $pc"). Now the expression parser can do this in the IR interpreter without running code in the inferior process. llvm-svn: 150554
-
- Feb 14, 2012
-
-
Sean Callanan authored
can be allocated in the process. llvm-svn: 150523
-
Johnny Chen authored
Remove the functionality of using 'frame variable -w' to set a watchpoint now that 'watchpoint set variable/expression' is working. Also update the relevant test cases. llvm-svn: 150514
-
Johnny Chen authored
llvm-svn: 150501
-
Enrico Granata authored
llvm-svn: 150492
-
Johnny Chen authored
Add test cases exercising SBValue.GetObjectDescription() with the SBValue from SBTarget.FindGlobalVariables() as well as from SBFrame.GetVariables(). Both scenarios are expected to work. llvm-svn: 150450
-
Sean Callanan authored
for assembly instructions to occasionally come out empty. llvm-svn: 150445
-
Greg Clayton authored
seems that sections in the memory module might be quite different from the sections in the file module. Now we find all segments in the on disk file and find that segment by name in the memory module and it is ok if any sections from the file are missing in the memory image. llvm-svn: 150443
-
Johnny Chen authored
Add a test case for completion from 'settings set target.exec' to 'settings set target.exec-search-paths '. llvm-svn: 150427
-
Greg Clayton authored
Tracking modules down when you have a UUID and a path has been improved. DynamicLoaderDarwinKernel no longer parses mach-o load commands and it now uses the memory based modules now that we can load modules from memory. Added a target setting named "target.exec-search-paths" which can be used to supply a list of directories to use when trying to look for executables. This allows one or more directories to be used when searching for modules that may not exist in the SDK/PDK. The target automatically adds the directory for the main executable to this list so this should help us in tracking down shared libraries and other binaries. llvm-svn: 150426
-
- Feb 13, 2012
-
-
Sean Callanan authored
anonymous types to each other unless they have the same byte_size. llvm-svn: 150422
-
Jason Molenda authored
llvm-svn: 150421
-
- Feb 11, 2012
-
-
Sean Callanan authored
"target modules lookup" also work with the "--function" option, so you can search for functions that aren't inlined. This is the same query that the expression parser makes, so it's good for diagnosing situations where the expression parser doesn't find a function you think should be there. llvm-svn: 150289
-
Sean Callanan authored
prettier. llvm-svn: 150285
-
- Feb 10, 2012
-
-
Sean Callanan authored
indicate whether inline functions are desired. This allows the expression parser, for instance, to filter out inlined functions when looking for functions it can call. llvm-svn: 150279
-
Sean Callanan authored
detection of kernels into the object file and adding a new category for raw binary images. Fixed all clients who previously searched for sections manually, making them use the object file's facilities instead. llvm-svn: 150272
-
Greg Clayton authored
llvm-svn: 150271
-
Sean Callanan authored
parser. Specifically: - ClangUserExpression now keeps weak pointers to the structures it needs and then locks them when needed. This ensures that they continue to be valid without leaking memory if the ClangUserExpression is long lived. - ClangExpressionDeclMap, instead of keeping a pointer to an ExecutionContext, now contains an ExecutionContext. This prevents bugs if the pointer or its contents somehow become stale. It also no longer requires that ExecutionContexts be passed into any function except its initialization function, since it can count on the ExecutionContext still being around. There's a lot of room for improvement (specifically, ClangExpressionDeclMap should also use weak pointers insetad of shared pointers) but this is an important first step that codifies assumptions that already existed in the code. llvm-svn: 150217
-
Enrico Granata authored
fixing a macro name mismatch that was making our test case succeed for the wrong reason; plus a minor code change to the CPP side of the test which eases debugging efforts llvm-svn: 150213
-
- Feb 09, 2012
-
-
Sean Callanan authored
by GetClangDeclContextContainingDIE, for better debuggability. llvm-svn: 150211
-
Johnny Chen authored
llvm-svn: 150205
-
Greg Clayton authored
enable us to track the depth of parsing and what is being parsed. This helps when trying to track down difficult type parsing issues and is only enabled in non-production builds. llvm-svn: 150203
-
Johnny Chen authored
llvm-svn: 150198
-
Johnny Chen authored
Also fix a logic error for a missing return stmt. Oops. llvm-svn: 150195
-
Greg Clayton authored
user space programs. The core file support is implemented by making a process plug-in that will dress up the threads and stack frames by using the core file memory. Added many default implementations for the lldb_private::Process functions so that plug-ins like the ProcessMachCore don't need to override many many functions only to have to return an error. Added new virtual functions to the ObjectFile class for extracting the frozen thread states that might be stored in object files. The default implementations return no thread information, but any platforms that support core files that contain frozen thread states (like mach-o) can make a module using the core file and then extract the information. The object files can enumerate the threads and also provide the register state for each thread. Since each object file knows how the thread registers are stored, they are responsible for creating a suitable register context that can be used by the core file threads. Changed the process CreateInstace callbacks to return a shared pointer and to also take an "const FileSpec *core_file" parameter to allow for core file support. This will also allow for lldb_private::Process subclasses to be made that could load crash logs. This should be possible on darwin where the crash logs contain all of the stack frames for all of the threads, yet the crash logs only contain the registers for the crashed thrad. It should also allow some variables to be viewed for the thread that crashed. llvm-svn: 150154
-
Sean Callanan authored
change (besides logging) is that now string literals in the IR are ConstantDataArrays instead of ConstantArrays. llvm-svn: 150142
-
Sean Callanan authored
llvm-svn: 150134
-
Johnny Chen authored
llvm-svn: 150133
-
Jim Ingham authored
llvm-svn: 150131
-
Johnny Chen authored
llvm-svn: 150127
-
Sean Callanan authored
causing testsuite crashes. llvm-svn: 150125
-
Johnny Chen authored
llvm-svn: 150124
-
Johnny Chen authored
Add a case to test that 'stty -a' displays the same output before and after running the lldb command. llvm-svn: 150119
-
- Feb 08, 2012
-
-
Johnny Chen authored
After discussions with Jim and Greg, modify the 'watchpoint set' command to become a mutiword command with subcommand 'expression' and 'variable'. The first subcommand is for supplying an expression to be evaluated into an address to watch for, while the second is for watching a variable. 'watchpoint set expression' is a raw command, which means that you need to use the "--" option terminator to end the '-w' or '-x' option processing and to start typing your expression. Also update several test cases to comply and add a couple of test cases into TestCompletion.py, in particular, test that 'watchpoint set ex' completes to 'watchpoint set expression ' and that 'watchpoint set var' completes to 'watchpoint set variable '. llvm-svn: 150109
-
Sean Callanan authored
variables that are only available in symbols. llvm-svn: 150103
-
Enrico Granata authored
llvm-svn: 150085
-
Sean Callanan authored
parser now at least tries to generate IR for the target. llvm-svn: 150079
-
Jason Molenda authored
llvm-svn: 150063
-
Jim Ingham authored
Also, provide and use accessors for the thread options on breakpoints so we can control sending the appropriate events. llvm-svn: 150057
-
Sean Callanan authored
information about the current frame rather than the debug information about "this" and "self" when determining the types of those pointers. This allows expressions to work in frames that don't have valid "this" and "self" pointers, working around poor debug information. llvm-svn: 150051
-