[PATCH] D46029: [llvm-objcopy] Implement --redefine-sym option
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 24 15:45:30 PDT 2018
alexshap added inline comments.
================
Comment at: tools/llvm-objcopy/Opts.td:30
HelpText<"Remove <section>">;
+def redefine_symbol : Separate<["--"], "redefine-sym">,
+ MetaVarName<"old=new">,
----------------
jakehehrlich wrote:
> Can you use Eq here instead of Separate?
if i use Eq it will allow smb to type --redefine-sym=a=b which looks weird and doesn't match binutils objcopy, am i missing smth ?
Repository:
rL LLVM
https://reviews.llvm.org/D46029
More information about the llvm-commits
mailing list