search for: __vla_expr0

Displaying 3 results from an estimated 3 matches for "__vla_expr0".

2020 Feb 15
2
Have the debugger show an away with a dynamic size?
...= 'a.out', stop reason = breakpoint 1.1 frame #0: 0x0000000000400505 a.out`foo(s=5) at test.c:7 4 for (i = 0; i < s; ++i) 5 MyArray[i] = s; 6 return 0; -> 7 } 8 9 int main(){ 10 foo(5); (lldb) frame variable (int) s = 5 (unsigned long) __vla_expr0 = 5 (int) i = 5 (int [81]) MyArray = { [0] = 5 [1] = 5 [2] = 5 [3] = 5 [4] = 5 [5] = 0 [6] = -136481184 [7] = 32767 [8] = -8408 [9] = 32767 [10] = -8544 [11] = 32767 [12] = 1 [13] = 5 [14] = 5 [15] = 0 [16] = -8512 [17] = 32767 [18] = 0 [19] = 5 [20] = -843...
2020 Feb 13
3
Have the debugger show an away with a dynamic size?
Hi. I searched and the closest thing I could find was this http://lists.llvm.org/pipermail/llvm-dev/2018-February/121348.html Currently a known sized array looks and debugs as expected. I use llvm.dbg.declare with DICompositeType tag: DW_TAG_array_type and the size field. In my language arrays are always passed around with a pointer and size pair. I'd like debugging to show up as nicely
2019 Nov 14
3
DW_OP_implicit_pointer design/implementation in general
On Thu, Nov 14, 2019 at 1:27 PM Adrian Prantl <aprantl at apple.com> wrote: > > > > On Nov 14, 2019, at 1:21 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > > Hey folks, > > > > Would you all mind having a bit of a design discussion around the > feature both at the DWARF level and the LLVM implementation? It seems like > what's