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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to