aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-06-12 10:08:08 +0200
committerRaphael Isemann <teemperor@gmail.com>2020-06-12 10:27:25 +0200
commit91728b9172bfd2a2eccc9dc2ef3462f931579aff (patch)
tree44d3268421efc4ff69e74cc7e227fa9ad18c1f5e /clang/lib/Frontend/CompilerInvocation.cpp
parent9b6e86a1a51fe154dad09c814bc77ccf4f47ac96 (diff)
downloadllvm-91728b9172bfd2a2eccc9dc2ef3462f931579aff.zip
llvm-91728b9172bfd2a2eccc9dc2ef3462f931579aff.tar.gz
llvm-91728b9172bfd2a2eccc9dc2ef3462f931579aff.tar.bz2
[lldb] Don't print IRForTarget errors directly to the console
Summary: When we get an error back from IRForTarget we directly print that error to the debugger output stream instead of putting it in the result object. The result object only gets a vague "The expression could not be prepared to run in the target" error message that doesn't actually tell the user what went wrong. This patch just puts the IRForTarget errors into the status object that is returned to the caller instead of directly printing it to the debugger. Also updates one test that now can actually check for the error message it is supposed to check for (instead of the default error which is all we had before). Reviewers: JDevlieghere Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D81654
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions