Port the two Process::PrintWarning functions to use the new diagnostic events through Debugger::ReportWarning. I kept the wrapper function in the process, but delegated the work to the Module. Consistent with the current code, the Module ensures the warning is only printed once per module.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/include/lldb/Core/Module.h | ||
---|---|---|
820–825 | In this diff, it seems the debugger_id is always given. Is the Optionalality for future uses? |
lldb/include/lldb/Core/Module.h | ||
---|---|---|
820–825 | Yeah, my thinking was that modules are rarely tied to a single debugger, but these particular function are only called from the process. I'll make them non-optional. |
In this diff, it seems the debugger_id is always given. Is the Optionalality for future uses?