aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-05-08 10:41:05 -0700
committerReid Kleckner <rnk@google.com>2020-05-08 14:01:39 -0700
commit77ecf90c52641aadedf6bad7c8bea5b217b49729 (patch)
tree66c038f13524ab7b41762cb8f2871e0fe4f278e1 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentebb69b8bafad6948ee6a14b4087fb7b440c73d0d (diff)
downloadllvm-77ecf90c52641aadedf6bad7c8bea5b217b49729.zip
llvm-77ecf90c52641aadedf6bad7c8bea5b217b49729.tar.gz
llvm-77ecf90c52641aadedf6bad7c8bea5b217b49729.tar.bz2
[COFF] Migrate COFFObjectFile to Expected<T>
I noticed that std::error_code() does one-time initialization. Avoid that overhead with Expected<T> and llvm::Error. Also, it is consistent with the virtual interface and ELF, and generally cleaner. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D79643
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions