Go to file
Hafiz Abid Qadeer 8647f4381f Fix -data-evaluate-expression for array.
Summary:
For an array declared like "blk[2][3]", this command was showing:
-data-evaluate-expression blk
^done,value="{[0] = [3], [1] = [3]}"

After this fix, it shows:
-data-evaluate-expression blk
^done,value="{[0] = {[0] = 1, [1] = 2, [2] = 3}, [1] = {[0] = 4, [1] = 5, [2] = 6}}"

The code to do the right thing was already available and used by other commands.
So I have just used that and removed the half-baked previous implementation.

Reviewers: ki.stfu

Subscribers: lldb-commits

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

llvm-svn: 246965
2015-09-07 12:00:51 +00:00
clang [X86][SSSE3] Added SSSE3 IR + assembly codegen builtin tests 2015-09-06 17:06:22 +00:00
clang-tools-extra Avoid repeated replacements on loop-convert check. 2015-09-04 21:37:05 +00:00
compiler-rt [asan] Intercept and wrap XPC callback blocks 2015-09-07 11:19:22 +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 Cleanup BuildingLibcxx.rst and remove TODO 2015-09-06 23:31:16 +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 COFF: Split doICF(). No functionality change. 2015-09-05 23:06:32 +00:00
lldb Fix -data-evaluate-expression for array. 2015-09-07 12:00:51 +00:00
llgo [llgo] drop debug/DIBuilder.Declare 2015-09-01 11:52:37 +00:00
llvm [mips][microMIPS] Implement BC16, BEQZC16 and BNEZC16 instructions 2015-09-07 11:56:37 +00:00
openmp Remove duplicate of num_threads assignment. 2015-09-02 20:28:50 +00:00
polly Drop alias metadata in checks of RuntimeDebugBuilder test 2015-09-06 08:59:50 +00:00