diff options
author | Fangrui Song <maskray@google.com> | 2019-03-27 08:19:36 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-03-27 08:19:36 +0000 |
commit | 95db95729c66f831647ac171248893e4e5cd3d11 (patch) | |
tree | 07700108bc379aa06271762d117dbb8a8877aa62 /llvm/lib | |
parent | feadc2a1de82b9c1358b6f14072bcf9a9a89a188 (diff) | |
download | bcm5719-llvm-95db95729c66f831647ac171248893e4e5cd3d11.tar.gz bcm5719-llvm-95db95729c66f831647ac171248893e4e5cd3d11.zip |
[llvm-dwarfdump] Simplify -o handling
ToolOutputFile handles '-' so no need to specialize here.
Also, we neither reassign the variable nor pass it around, thus no need
to use std::unique_ptr<ToolOutputFile>.
exit(1) -> return 1; to call the destructor of raw_fd_stream
llvm-svn: 357051
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions