The bad usage tests in ELF/redefine-symbols.test are not specific to ELF.
Move them to redefine-symbols.test .
Also fix the documentation regarding --redefine-syms: the old and new
names are separated by whitespace, not an equals sign.
Differential D70036
[llvm-objcopy][COFF] Implement --redefine-sym and --redefine-syms MaskRay on Nov 8 2019, 5:21 PM. Authored by
Details The bad usage tests in ELF/redefine-symbols.test are not specific to ELF. Also fix the documentation regarding --redefine-syms: the old and new
Diff Detail
Event Timeline
Comment Actions Looks okay to me, but I don't know enough about COFF to know whether there are any hidden gotchas with renaming symbols that might need accounting for.
Comment Actions Looks good in general, with two minor comments
Comment Actions Address review comments
Comment Actions LGTM, but please mention the documentation fix in the commit message, as it's not immediately obvious that the paragraph is edited while it's moved, and the edit is kind of unrelated to this change (other than the lines are moved). |
While this just moves the documentation, it seems to me that this documentation is wrong; in the text file, there's no equals sign between old and new names, they're just separated by whitespace.