aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-06-24 09:36:29 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-06-24 09:46:26 -0700
commit6879391908cab68e8d43a0097fa8c9cd3b86eff9 (patch)
treed47680ae2bad7e146952befd6511fce6c1e05584 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent2faacf61a50e7f23fd10927cbbb98c59799bfcd0 (diff)
downloadllvm-6879391908cab68e8d43a0097fa8c9cd3b86eff9.zip
llvm-6879391908cab68e8d43a0097fa8c9cd3b86eff9.tar.gz
llvm-6879391908cab68e8d43a0097fa8c9cd3b86eff9.tar.bz2
[lldb] Replace Host::SystemLog with Debugger::Report{Error,Warning}
As it exists today, Host::SystemLog is used exclusively for error reporting. With the introduction of diagnostic events, we have a better way of reporting those. Instead of printing directly to stderr, these messages now get printed to the debugger's error stream (when using the default event handler). Alternatively, if someone is listening for these events, they can decide how to display them, for example in the context of an IDE such as Xcode. This change also means we no longer write these messages to the system log on Darwin. As far as I know, nobody is relying on this, but I think this is something we could add to the diagnostic event mechanism. Differential revision: https://reviews.llvm.org/D128480
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions