Go to file
Hafiz Abid Qadeer 87f4f413ba Remove an invalid check in DW_OP_piece processing.
Summary:
When lldb is processing a location containing DW_OP_piece, the result is being
stored in the 'pieces' variable. The location is popped from the 'stack' variable.
So this check to see that 'stack' is not empty was invalid and caused the pieces
after the first to not get processed.

I am working on an architecture which has 16-bit and 8-bit registers. So this
problem was quite easy to see. But I was able to re-produce this issue on x86
too with long long variable and compiling woth -m32. It resulted in following
location list.
00000014 08048496 080484b5 (DW_OP_reg6 (esi); DW_OP_piece: 4; DW_OP_reg7 (edi); DW_OP_piece: 4)

and lldb was only showing the contents of first register when I evaluated the
variable as it does not process the 2nd piece due to this check.

Reviewers: clayborg, aprantl

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D12674

llvm-svn: 247124
2015-09-09 09:06:05 +00:00
clang Fix vld1_lane intrinsic generation 2015-09-09 01:37:18 +00:00
clang-tools-extra Add a redirection page to unbreak external links. 2015-09-08 12:26:32 +00:00
compiler-rt [msan] Unpoison dlpi_phdr in dl_iterate_phdr. 2015-09-08 23:14:44 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Update mailing list reference. 2015-08-24 22:43:24 +00:00
libcxx Implementation of Boyer-Moore and Boyer-Moore-Horspool searchers for the LFTS. 2015-09-08 17:59:09 +00:00
libcxxabi Convert LIBCXXABI_BUILD_32_BITS to LLVM_BUILD_32_BITS. 2015-09-01 01:02:06 +00:00
libunwind unwind: cleanup -Wunused-parameter 2015-09-01 04:29:03 +00:00
lld Create a dynamic segment. 2015-09-08 22:55:28 +00:00
lldb Remove an invalid check in DW_OP_piece processing. 2015-09-09 09:06:05 +00:00
llgo [llgo] drop debug/DIBuilder.Declare 2015-09-01 11:52:37 +00:00
llvm AMDGPU: Fix not encoding src2 of VOP3b instructions 2015-09-09 08:39:49 +00:00
openmp Remove duplicate of num_threads assignment. 2015-09-02 20:28:50 +00:00
polly Allow PHI nodes in the region exit block 2015-09-08 21:44:27 +00:00