1. [Local] Clean up enforceKnownAlignment() (NFC) (details)
  2. [Driver] Add disabled-by-default -Wuse-ld-path for the deprecation warning for -fuse-ld=/abs/path (details)
Commit f4e554180962aa6bc93678898b6933ea712bde50 by nikita.ppv
[Local] Clean up enforceKnownAlignment() (NFC)

I want to export this function, and the current API was a bit
weird: It took an additional Alignment argument that didn't really
have anything to do with what the function does. Drop it, and
perform a max at the callsite.

Also rename it to tryEnforceAlignment().
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
Commit 9087209314caafed4b232d4a66287f2d16054ad3 by i
[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

I have notified them about using --ld-path= forwards
but we have to give some transitional period.

Reviewed By: dblaikie

Differential Revision:
The file was modifiedclang/test/Misc/warning-flags.c (diff)
The file was modifiedclang/lib/Driver/ToolChain.cpp (diff)
The file was modifiedclang/include/clang/Basic/ (diff)
The file was modifiedclang/test/Driver/fuse-ld.c (diff)
The file was modifiedclang/include/clang/Basic/ (diff)