[Lldb-commits] [lldb] [lldb] Log errors to the system log if they would otherwise get dropped (PR #111911)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 15 05:30:50 PDT 2024


labath wrote:

Yeah, I have a feeling that Linux is too heterogeneous for something like this to make sense for everyone. Although, I'm not sure if it makes sense on Darwin outside of your use case. Like, if I wanted to (which I don't, but I understand some people do) ship a custom lldb to mac (say, as a part of some IDE), would I be able to integrate these "system" logs into my own (deliberately underspecified) bug reporting system? This sounds to me like one of those things where a "vendor" might need to make a choice as to what "system log" means for them. I'm not saying we have to design that right now, but  we might want to leave the door open for that. And that design might consist of overriding Host(Info)::SystemLog...

Bottom line: I also think we should also make noop on linux (or non-mac, basically).

https://github.com/llvm/llvm-project/pull/111911


More information about the lldb-commits mailing list