[PATCH] D120731: [llvm] add -o flag to llvm-bitcode-strip
Richard Howell via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 2 07:13:18 PST 2022
rmaz added inline comments.
================
Comment at: llvm/tools/llvm-objcopy/ObjcopyOptions.cpp:1211
+
+ if (!InputArgs.hasArg(BITCODE_STRIP_output)) {
+ return createStringError(
----------------
jhenderson wrote:
> Are you sure you want this behaviour? Prior to this patch, llvm-bitcode-strip will modify things in-place, like llvm-strip does.
Yes, this matches the behaviour of `bitcode_strip`:
```
Usage: bitcode_strip input [-r | -m | -l] [-keep_cs] -o output
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120731/new/
https://reviews.llvm.org/D120731
More information about the llvm-commits
mailing list