[all-commits] [llvm/llvm-project] 908720: [Driver] Add disabled-by-default -Wuse-ld-path for...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Sep 19 15:51:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9087209314caafed4b232d4a66287f2d16054ad3
      https://github.com/llvm/llvm-project/commit/9087209314caafed4b232d4a66287f2d16054ad3
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-09-19 (Sat, 19 Sep 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/lib/Driver/ToolChain.cpp
    M clang/test/Driver/fuse-ld.c
    M clang/test/Misc/warning-flags.c

  Log Message:
  -----------
  [Driver] Add disabled-by-default -Wuse-ld-path for the deprecation warning for -fuse-ld=/abs/path

The warning is currently not under a -W option, so it cannot be suppressed.
This is annoying for the widespread build system Bazel when specifying the path to gold
https://github.com/bazelbuild/bazel/commit/cdd0c3cdba270115940e8ca5ec8104cbcd694671

I have notified them about using --ld-path= forwards
https://github.com/bazelbuild/bazel/pull/8580#issuecomment-694321543
but we have to give some transitional period.

Reviewed By: dblaikie

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




More information about the All-commits mailing list