[all-commits] [llvm/llvm-project] a018b5: [llvm-objcopy] Reorder --dump-section before --rem...

Sameer Arora via All-commits all-commits at lists.llvm.org
Fri Jun 5 10:46:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a018b538a6177b7fb50bad067ca4e828a85dbf76
      https://github.com/llvm/llvm-project/commit/a018b538a6177b7fb50bad067ca4e828a85dbf76
  Author: Sameer Arora <sameerarora101 at fb.com>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    A llvm/test/tools/llvm-objcopy/ELF/dump-section-before-add-remove.test
    M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy] Reorder --dump-section before --remove-section for ELF

Reorder `DumpSection` under `handleArgs` in file `ELFObjcopy.cpp`.
`DumpSection` is placed before `replaceAndRemoveSections` and is
therefore now the first operation under `handleArgs`. Thus, it is now
performed before both `add` and `remove` section operations.

Change for the MachO format at D81123. Together fixes https://bugs.llvm.org/show_bug.cgi?id=44283.

Reviewed By: alexshap, jhenderson, MaskRay

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




More information about the All-commits mailing list