[Lldb-commits] [lldb] Fix lldb-dap non-leaf frame source resolution issue (PR #165944)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 6 09:16:17 PST 2025
================
@@ -0,0 +1,14 @@
+void bar() {
+ int val = 32; // breakpoint here
+}
+
+int foo() {
+ bar(); // foo call bar
+#line 0 "test.cpp"
+ return 0;
----------------
adrian-prantl wrote:
I would suggest using a function call for more predictable code generation
```
void at_line_zero() {}
int foo() {
bar(); // foo call bar
#line 0 "test.cpp"
at_line_zero()
```
https://github.com/llvm/llvm-project/pull/165944
More information about the lldb-commits
mailing list