hanchenye-llvm-project/lldb
Greg Clayton ac58361047 Rewrote the initial DW_OP_piece support to be able to support opcodes like:
DW_OP_fbreg(N) DW_OP_piece(4) DW_OP_fbreg(M) DW_OP_piece(8)
DW_OP_fbreg(N) DW_OP_piece(4) DW_OP_piece(8)

The first grabs 4 bytes from FP+N followed by 8 bytes from FP+M, the second grabs 4 bytes from FP+N followed by zero filling 8 bytes which are unavailable. Of course regiters are stuff supported:

DW_OP_reg3 DW_OP_piece(4) DW_OP_reg8 DW_OP_piece(8)

The fix does the following:
1 - don't push the full piece value onto the stack, keep it on the side
2 - fill zeros for DW_OP_piece(N) opcodes that have nothing on the stack (instead of previously consuming the full piece that was pushed onto the stack)
3 - simplify the logic

<rdar://problem/16930524>

llvm-svn: 214415
2014-07-31 18:19:28 +00:00
..
docs Improve documentation on triple encoding expectations for qHostInfo response. 2014-07-23 14:48:41 +00:00
examples Don't use "lldb." global variables in LLDB commands. 2014-07-11 22:41:30 +00:00
include Rewrote the initial DW_OP_piece support to be able to support opcodes like: 2014-07-31 18:19:28 +00:00
lib Update CMakeLists.txt and Makefiles for building/linking the Hexagon ABI and Dynamic Loader 2014-07-21 17:24:05 +00:00
lldb.xcodeproj Dramatically improves C++ demangling performance by introducing a new implementation that is much faster than the existing demangler. While not yet complete, the new demangler will fail gracefully when it encounters symbols it isn’t prepared to deal with. In these cases LLDB will fall back to using the full demangler to prevent a loss in functionality. On sizable code bases the fast path succeeds 95% of the time, providing a significant net win. 2014-07-22 17:03:38 +00:00
lldb.xcworkspace
resources Update the lldb version number in the xcode project files from 310.99.0 to 320.99.0. 2014-01-10 06:12:10 +00:00
scripts (no commit message) 2014-07-30 17:38:47 +00:00
source Rewrote the initial DW_OP_piece support to be able to support opcodes like: 2014-07-31 18:19:28 +00:00
test Add decorator for TestStopHookMultipleThreads failing on FreeBSD 2014-07-31 14:02:32 +00:00
tools Fix build: remove bogus ./ at end of line 2014-07-30 19:26:11 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Add docs for the "thread.completed-expression" format entry. 2014-07-08 01:10:49 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Add a .clang-format file to enhance formatting experience with clang-format 2014-07-24 00:26:04 +00:00
.gitignore Add lldb-gdbserver support for Linux x86_64. 2014-06-30 21:05:18 +00:00
CMakeLists.txt build: fix cmake warning with newer CMake 2014-07-20 05:28:55 +00:00
INSTALL.txt
LICENSE.TXT
Makefile Add some missing defines that are already present in the cmake side. 2014-03-12 10:35:00 +00:00