[Lldb-commits] [lldb] [lldb][DWARF] Only log address range error to verbose channel (PR #144037)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 13 03:20:30 PDT 2025
Michael137 wrote:
Another thing that's confusing me is that this error only prints to the console when you attach to LLDB. E.g.,
```
$ cat range.cpp
struct Foo {
void func() {}
};
int main() {
Foo{}.func();
return 0;
}
```
This doesn't print the error:
```
./build/bin/lldb ~/a.out -o "b main" -o run
```
But,
```
./build/bin/lldb -o "b DWARFDebugInfoEntry.cpp:620" -- ./build/bin/lldb ~/a.out -o "b main" -o run
```
Will break on the error path, and the error is logged to the console..
https://github.com/llvm/llvm-project/pull/144037
More information about the lldb-commits
mailing list