[all-commits] [llvm/llvm-project] 89df4e: [Driver] Remove unused -Ttext -Tdata -Tbss

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Sep 3 10:57:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89df4e4825ee6136bebbe5f70de29eb80456aaa4
      https://github.com/llvm/llvm-project/commit/89df4e4825ee6136bebbe5f70de29eb80456aaa4
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-09-03 (Sat, 03 Sep 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/hexagon-toolchain-elf.c

  Log Message:
  -----------
  [Driver] Remove unused -Ttext -Tdata -Tbss

They lead to -Wunused-command-line-argument and should be written as -Ttext=
instead, but the driver options end with a space. -Ttext=0 can be accepted by
the JoinedOrSeparate -T, so the JoinedOrSeparate -Ttext/etc are unneeded.




More information about the All-commits mailing list