[PATCH] D14471: [AArch64] Fix a crash in driver

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 16:20:54 PST 2015


ahatanak added a comment.

Sorry, there were mistakes in my comments.

What I meant to say is that changing getAArch64TargetCPU to return "native" would break the case where clang is being run on an aarch64 host. The current code in trunk will get the host cpu name (which I believe is currently always "generic" for aarch64) if "-mtune=native" is on the command line. If we change getAArch64TargetCPU to return "native", clang will error out because "native" is not a valid cpu name.


http://reviews.llvm.org/D14471





More information about the cfe-commits mailing list