diff options
author | Alexander Shaposhnikov <shal1t712@gmail.com> | 2018-02-09 23:33:31 +0000 |
---|---|---|
committer | Alexander Shaposhnikov <shal1t712@gmail.com> | 2018-02-09 23:33:31 +0000 |
commit | fedb01603c66fe662ecab2c51e3fe4deb8544bf6 (patch) | |
tree | 42fa93f548676f0b389e6a8e2e3923eed253be41 /clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | |
parent | 99db883d55313ac98439b8031383abf82dcaafde (diff) | |
download | bcm5719-llvm-fedb01603c66fe662ecab2c51e3fe4deb8544bf6.tar.gz bcm5719-llvm-fedb01603c66fe662ecab2c51e3fe4deb8544bf6.zip |
[llvm-objcopy] Make modifications in-place if output is not specified
If the output file is not specified make the modifications in-place
(like binutils objcopy does). In particular, this fixes
the behavior of Clang -gsplit-dwarf (if Clang is configured to use llvm-objcopy),
previously it was creating .dwo files, but still leaving *dwo* sections in
the original binary.
Test plan: make check-all
Differential revision: https://reviews.llvm.org/D42873
llvm-svn: 324783
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp')
0 files changed, 0 insertions, 0 deletions