summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorZijiao Ma <jojo.ma@linaro.org>2016-07-28 06:11:18 +0000
committerZijiao Ma <jojo.ma@linaro.org>2016-07-28 06:11:18 +0000
commite56a53a9b33395af81fc893cc766f139bd577a45 (patch)
treed70605ac75ee4d4e757b8ab77cc5d5db798c87c9 /clang/lib/Basic/Targets.cpp
parent67f684e18ea55621078b30ab26462f7e74e0986a (diff)
downloadbcm5719-llvm-e56a53a9b33395af81fc893cc766f139bd577a45.tar.gz
bcm5719-llvm-e56a53a9b33395af81fc893cc766f139bd577a45.zip
Add unittests to {ARM | AArch64}TargetParser.
Add unittest to {ARM | AArch64}TargetParser,and by the way correct problems as below: 1.Correct a incorrect indexing problem in AArch64TargetParser. The architecture enumeration is shared across ARM and AArch64 in original implementation.But In the code,I just used the index which was offset by the ARM, and this would index into the array incorrectly. To make AArch64 has its own arch enum,or we will do a lot of slowly iterating. 2.Correct a spelling error. The parameter of llvm::AArch64::getArchExtName. 3.Correct a writing mistake, in llvm::ARM::parseArchISA. Differential Revision: https://reviews.llvm.org/D21785 llvm-svn: 276957
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud