- Jan 11, 2012
-
-
Sean Callanan authored
to assume it's of pointer size. llvm-svn: 147906
-
Johnny Chen authored
It is incomplete and untested; passes the compilation only. llvm-svn: 147901
-
Johnny Chen authored
Add comment for build_and_run_with_source_atoms_expr() and remove redundant #include from basic_type.cpp. llvm-svn: 147895
-
Johnny Chen authored
the Test*Types*.py test cases. llvm-svn: 147893
-
- Jan 10, 2012
-
-
Greg Clayton authored
llvm-svn: 147886
-
-
Sean Callanan authored
llvm-svn: 147865
-
Jim Ingham authored
As we are grubbing through memory chasing down the hierarchy of an ObjC object, protect against the possibility that that object might be just random memory with loops. llvm-svn: 147838
-
Greg Clayton authored
to fix the issues we run into on darwin even though the docs don't seems to say it will. llvm-svn: 147835
-
Greg Clayton authored
llvm-svn: 147834
-
Jim Ingham authored
when you already know that the address is contained in a bona fide function. This can be a slow call. llvm-svn: 147829
-
Johnny Chen authored
Also add test cases to the test suite to exercise displaying of variables captured inside a block (Darwin-only). llvm-svn: 147828
-
Johnny Chen authored
llvm-svn: 147823
-
Johnny Chen authored
Add a CFLAGS_EXTRAS make variable to be able to pass things (like '-DTEST_BLOCK_CAPTURED_VARS') to the compile phase. Plus add a DYLIB_ONLY make variable that can be used to turn off compilation/building of a.out. Example: [16:39:21] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make clean rm -rf "a.out" "a.out.dSYM" main.o main.d a.o a.d liba.dylib liba.dylib.dSYM [16:39:24] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make DYLIB_ONLY=YES clang -gdwarf-2 -O0 -arch x86_64 -c -o a.o a.c clang -gdwarf-2 -O0 -arch x86_64 a.o -install_name "@executable_path/liba.dylib" -dynamiclib -o "liba.dylib" [16:39:30] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ llvm-svn: 147821
-
Greg Clayton authored
functions that can create file descriptors and close them. It will warn when there close file descriptor call that returns with EBADF and show the corresponding stack backtraces that caused the issue. It will also log all file descriptor create and delete calls. See the comments at the top of FDInterposing.cpp for all of the details. llvm-svn: 147816
-
Greg Clayton authored
in the module when dumping the information in addition to all info that we were previously showing. llvm-svn: 147815
-
Greg Clayton authored
the linker driver is found. llvm-svn: 147814
-
Greg Clayton authored
takes to open and index BSD archives. llvm-svn: 147813
-
- Jan 09, 2012
-
-
Sean Callanan authored
llvm-svn: 147794
-
Greg Clayton authored
it was checked in as: virtual bool ABI::FixCodeAddress (lldb::addr_t pc); when it should have been: virtual lldb::addr_t ABI::FixCodeAddress (lldb::addr_t pc); llvm-svn: 147790
-
Johnny Chen authored
llvm-svn: 147789
-
- Jan 08, 2012
-
-
rdar://problem/10645694Greg Clayton authored
Fixed an ARM backtracing issue where if the previous frame was a thumb function and it was a tail call so that the current frame returned to an address that would fall into the next function, we would use the next function as the basis for how we unwound the previous frame's registers and of course get things wrong. We now fix the PC code address using the current ABI plug-in, and the ARM ABI plug-in has been modified to correctly fix the code address. So when we do the symbol context lookup, instead of taking an address like 0x1001 and decrementing 1, and looking up the symbol context for a frame, we now correctly fix 0x1001 to 0x1000, then decrement that by 1 to get the correct symbol context. I added a bunch more logging to "log enable lldb uwnind" to help us in the future. We now log the PC, FP and SP (if they are available), and we also dump the "active_row" that we find for unwinding a frame. llvm-svn: 147747
-
rdar://problem/10660369Greg Clayton authored
Fixed the default ARM regiter set to be able to refer to "r7" as "fp" for the apple debugserver. llvm-svn: 147746
-
- Jan 07, 2012
-
-
Greg Clayton authored
The previous approach to controlling the recursion was doing it from outside the function which is not reliable. Now it is being done inside the function. This might not solve all of the crashes that we were seeing since there are other functions that clear the bit that indicates that the summary is in the process of being generated, but it might solve some. llvm-svn: 147741
-
rdar://problem/10658091Greg Clayton authored
Fixed dynamic types for objective C to not try and make everything dynamic including base classes. llvm-svn: 147722
-
Greg Clayton authored
class instead of requiring a live process in order to be able to create useful SBData objects. llvm-svn: 147702
-
- Jan 06, 2012
-
-
Sean Callanan authored
parser was creating malformed resuls. When the location of a variable is computed by reading a register and adding an offset, we shouldn't say that the variable's value is located in that register. This was confusing the expression parser when trying to read a variable captured by a block. llvm-svn: 147668
-
rdar://problem/10652336Greg Clayton authored
Fixed a crasher when trying to load an expression prefix file: % touch /tmp/carp.txt % xcrun lldb (lldb) settings set target.expr-prefix /tmp/carp.txt Segmentation fault llvm-svn: 147646
-
rdar://problem/10649734Greg Clayton authored
Fixed an issue where the python interpreter could deadlock LLDB. llvm-svn: 147640
-
Johnny Chen authored
Allow creating SBData values from arrays or primitives in Python Patch submitted by Enrico Granata. llvm-svn: 147639
-
rdar://problem/10647191Greg Clayton authored
Removed an extra call to close that was causing problems and also now use the Host::File class to open the file. llvm-svn: 147638
-
Johnny Chen authored
lldb::SBValue::AddressOf does not work on dereferenced registers in synthetic children provider Patch submitted by Enrico Granata. llvm-svn: 147637
-
Greg Clayton authored
emit fully qualified names, so now we make sure the DW_TAG values match and still lookup using the basename. llvm-svn: 147634
-
Johnny Chen authored
comma at end of enumerator list llvm-svn: 147633
-
Johnny Chen authored
llvm-svn: 147629
-
Johnny Chen authored
llvm-svn: 147627
-
- Jan 05, 2012
-
-
Sean Callanan authored
performing Objective-C instance variable lookup. Previously, it only completed the derived class that was the beginning of the search. Now, as it walks up the superclass chain looking for the ivar, it completes each superclass in turn. Also added a testcase covering this issue. llvm-svn: 147621
-
http://llvm.org/viewvc/llvm-project?rev=147609&view=revJohnny Chen authored
This patch combines common code from Linux and FreeBSD into a new POSIX platform. It also contains fixes for 64bit FreeBSD. The patch is based on changes by Mark Peek <mp@FreeBSD.org> and "K. Macy" <kmacy@freebsd.org> in their github repo located at https://github.com/fbsd/lldb. llvm-svn: 147613
-
Johnny Chen authored
a new POSIX platform. It also contains fixes for 64bit FreeBSD. The patch is based on changes by Mark Peek <mp@FreeBSD.org> and "K. Macy" <kmacy@freebsd.org> in their github repo located at https://github.com/fbsd/lldb. llvm-svn: 147609
-
Greg Clayton authored
llvm-svn: 147597
-