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

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 16:39:13 PST 2016


ahatanak updated this revision to Diff 46725.
ahatanak added a comment.

Sorry for taking so long to get back to this patch.

I've updated the patch based on your review comments. I defined a new helper function getAArch64FeaturesFromCPU which gets the target features from the cpu name and checks whether the cpu is a valid aarch64 cpu. This function is called from getAArch64TargetCPU and DecodeAArch64Mcpu to avoid duplicating the code. I also added a test case.


http://reviews.llvm.org/D14471

Files:
  lib/Driver/Tools.cpp
  test/Driver/aarch64-cpus.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14471.46725.patch
Type: text/x-patch
Size: 6363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160203/90eddd84/attachment.bin>


More information about the cfe-commits mailing list