[all-commits] [llvm/llvm-project] 622812: [Driver] Remove duplicate -e

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 7 23:42:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62281227bf7ca48d0101e4c9d11f71600208c7df
      https://github.com/llvm/llvm-project/commit/62281227bf7ca48d0101e4c9d11f71600208c7df
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Ananas.cpp
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/lib/Driver/ToolChains/CSKYToolChain.cpp
    M clang/lib/Driver/ToolChains/CloudABI.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/lib/Driver/ToolChains/Hexagon.cpp
    M clang/lib/Driver/ToolChains/MSP430.cpp
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/lib/Driver/ToolChains/Myriad.cpp
    M clang/lib/Driver/ToolChains/NetBSD.cpp
    M clang/lib/Driver/ToolChains/OpenBSD.cpp
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/lib/Driver/ToolChains/RISCVToolchain.cpp
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M clang/test/Driver/msp430-toolchain.c

  Log Message:
  -----------
  [Driver] Remove duplicate -e

-e has the LinkerInput flag (commit fcf8ada18f9cfb1261262e4b0399ae9ab40451f8)
and is rendered by AddLinkerInputs. We should remove duplicate rendering (e.g.,
`Args.AddAllArgs(CmdArgs, options::OPT_e)`).




More information about the All-commits mailing list