[PATCH] D25761: Use linker flag --fix-cortex-a53-843419 on Android ARM64 compilation.

Stephen Hines via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 19 02:28:12 PDT 2016


srhines added a comment.

In https://reviews.llvm.org/D25761#573902, @rengolin wrote:

> In https://reviews.llvm.org/D25761#573892, @srhines wrote:
>
> > From what I can tell, there is no nice way to generate tests for Clang's driver when producing linker flags. -### only works for the -cc1 command line (which won't see this flag, since it is only for linking, and not compilation). If there is a suggestion for how to automatically test this, I am listening, but all my local tests looked fine (for generating/suppressing the flag). :)
>
>
> I think "clang -v" will show the linker invocation, with all its flags.


But is there a way to get a dry-run of the linker? I don't want to run /usr/bin/ld for ARM targets. It seems like all of the other linker flag-related tests in tests/Driver/ only work for x86.


https://reviews.llvm.org/D25761





More information about the cfe-commits mailing list