[Lldb-commits] [PATCH] D123698: [lldb] Port Process::PrintWarning* to use the new diagnostic events
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 13 11:07:01 PDT 2022
JDevlieghere created this revision.
JDevlieghere added a reviewer: kastiglione.
Herald added a project: All.
JDevlieghere requested review of this revision.
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.
https://reviews.llvm.org/D123698
Files:
lldb/include/lldb/Core/Module.h
lldb/include/lldb/Target/Process.h
lldb/source/Core/Module.cpp
lldb/source/Target/Process.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123698.422572.patch
Type: text/x-patch
Size: 8983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220413/abe61a7e/attachment-0001.bin>
More information about the lldb-commits
mailing list