diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-03-16 08:30:26 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-03-16 08:33:01 -0700 |
commit | 2fc38b2b7bf9896806749655124ea5f13cc6d383 (patch) | |
tree | 3fd15f6f13e0787d2689f4a54141bf7b7c1cc939 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 2c4e38fa6f33d371f9169715f97046343095bba0 (diff) | |
download | llvm-2fc38b2b7bf9896806749655124ea5f13cc6d383.zip llvm-2fc38b2b7bf9896806749655124ea5f13cc6d383.tar.gz llvm-2fc38b2b7bf9896806749655124ea5f13cc6d383.tar.bz2 |
[lldb] Report debugger diagnostics as events
Report warnings and errors through events instead of printing directly
the to the debugger's error stream. By using events, IDEs such as Xcode
can report these issues in the UI instead of having them show up in the
debugger console.
The new diagnostic events are handled by the default event loop. If a
diagnostic is reported while nobody is listening for the new event
types, it is printed directly to the debugger's error stream.
Differential revision: https://reviews.llvm.org/D121511
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions