================
@@ -0,0 +1,8 @@
+int main(int argc, char **argv) {
+ int array[10];
+ array[0] = 0;
+ int (&array_ref)[10] = array;
+ int *p_int0 = &array[0];
+
+ return 0; // Set a breakpoint here
----------------
adrian-prantl wrote:
Generally, it is more reliable to set a breakpoint on a function call, since
the return statement itself doesn't always produce an instruction with a line
table entry that is outside the epilogue. So it's better to either write
something like
```
void stop() {}
...
stop(); // break here
return 0;
```
https://github.com/llvm/llvm-project/pull/155617
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits