summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-10-30 23:57:40 +0200
committerMartin Storsjö <martin@martin.st>2019-10-31 11:26:21 +0200
commit3db1d138b1172b5855f35ab74dbf3bf327f517d2 (patch)
tree5635ff3b8f4030479070c997cee3dc315798d064 /lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
parenta42967f63c96b30dd6873ceb7b2932eb7cf2cd05 (diff)
downloadbcm5719-llvm-3db1d138b1172b5855f35ab74dbf3bf327f517d2.tar.gz
bcm5719-llvm-3db1d138b1172b5855f35ab74dbf3bf327f517d2.zip
[LLDB] [PECOFF] Fix error handling for executables that object::createBinary errors out on
llvm::object::createBinary returns an Expected<>, which requires not only checking the object for success, but also requires consuming the Error, if one was set. Use LLDB_LOG_ERROR for this case, and change an existing similar log statement to use it as well, to make sure the Error is consumed even if the log channel is disabled. Differential Revision: https://reviews.llvm.org/D69646
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud