[all-commits] [llvm/llvm-project] 7af602: [llvm-objcopy][COFF] Implement --redefine-sym and ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Nov 12 11:28:57 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7af6025bd12eb086341c3076b760b053a9c2625f
      https://github.com/llvm/llvm-project/commit/7af6025bd12eb086341c3076b760b053a9c2625f
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objcopy.rst
    A llvm/test/tools/llvm-objcopy/COFF/redefine-symbol.test
    M llvm/test/tools/llvm-objcopy/ELF/redefine-symbol.test
    A llvm/test/tools/llvm-objcopy/redefine-symbols.test
    M llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy][COFF] Implement --redefine-sym and --redefine-syms

The parsing error tests in ELF/redefine-symbols.test are not specific to ELF.
Move them to redefine-symbols.test.
Add COFF/redefine-symbols.test for COFF specific tests.

Also fix the documentation regarding --redefine-syms: the old and new
names are separated by whitespace, not an equals sign.

Reviewed By: mstorsjo

Differential Revision: https://reviews.llvm.org/D70036




More information about the All-commits mailing list