da-viper wrote:
Thanks.
You could use the below as a test case. This will allow the PC line entry to be
different from the frame line entry.
```cpp
// filename test.cpp
bool foo();
void bar() {
int val = 32; // breakpoint here
}
int main(int argc, char const *argv[]) {
auto val = foo();
return 0;
}
bool foo() {
bar();
#line 0 "test.cpp"
return true;
}
```
<img width="423" height="221" alt="Screenshot 2025-11-05 at 14 06 06"
src="https://github.com/user-attachments/assets/45073883-67c9-490e-9034-87cd0f44e848"
/>
https://github.com/llvm/llvm-project/pull/165944
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits