search for: multilevel_point

Displaying 2 results from an estimated 2 matches for "multilevel_point".

Did you mean: multilevel_pointer
2020 Jan 01
2
DW_OP_implicit_pointer design/implementation in general
...gt; Could you show an example of the DWARF using DW_OP_implicit_pointer for >> multiple levels of indirection, >> >> Let me present a part from the test case >> test/DebugInfo/implicit_pointer_mem2reg.c >> ------------------------------------------------ >> # cat multilevel_pointer.c >> static const char *b = "opq"; >> volatile int v; >> int main() { >> int var1 = 4; >> int *ptr1; >> int **ptrptr1; >> >> v++; >> ptr1 = &var1; >> ptrptr1 = &ptr1; >> v++; >> >> retu...
2019 Nov 29
4
DW_OP_implicit_pointer design/implementation in general
Let me try to summarize the implementation first. At the moment, there are two branches. 1. When an existing variable is optimized out and that variable is used to get the de-refereced value, pointed to by another pointer/reference variable. Such cases are being addressed using Dwarf expression DW_OP_implicit_pointer as de-referenced value of a pointer can be seen implicitly (using another