[all-commits] [llvm/llvm-project] 310a8e: [llvm-objcopy][NFC] Extract arg parsing logic into...

Keith Smiley via All-commits all-commits at lists.llvm.org
Thu Oct 22 23:33:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 310a8e1d1284096fd42499c48a19899ff8b150ee
      https://github.com/llvm/llvm-project/commit/310a8e1d1284096fd42499c48a19899ff8b150ee
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/tools/llvm-objcopy/llvm-objcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy][NFC] Extract arg parsing logic into a helper function

This diff refactors the code which determines the tool type based on
how llvm-objcopy is invoked (objcopy vs strip vs bitcode-strip vs install-name-tool).
NFC.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D89713




More information about the All-commits mailing list