diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2018-10-12 00:36:01 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2018-10-12 00:36:01 +0000 |
commit | bb4588e9c187b33667cd8b8ccfd4219b3e1c8cae (patch) | |
tree | fa54aae9e097b04f67b38c32217a2ab6f126435a /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 56b6660d2ed92f3d879eac6e49e70e9279aca9da (diff) | |
download | llvm-bb4588e9c187b33667cd8b8ccfd4219b3e1c8cae.zip llvm-bb4588e9c187b33667cd8b8ccfd4219b3e1c8cae.tar.gz llvm-bb4588e9c187b33667cd8b8ccfd4219b3e1c8cae.tar.bz2 |
[llvm-objcopy] Add -F|--target compatibility
Summary:
This change adds support for the GNU --target flag, which sets both --input-target and --output-target.
GNU objcopy doesn't do any checking for whether both --target and --{input,output}-target are used, and so it allows both, e.g. "--target A --output-target B" is equivalent to "--input-target A --output-target B" since the later command line flag would override earlier ones. This may be error prone, so I chose to implement it as an error if both are used. I'm not sure if anyone is actually using both.
Reviewers: jakehehrlich, jhenderson, alexshap
Reviewed By: jakehehrlich, alexshap
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D53029
llvm-svn: 344321
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions