]> granicus.if.org Git - clang/commit
Create android x86_32 and x86_64 target info
authorTamas Berghammer <tberghammer@google.com>
Wed, 25 Mar 2015 10:38:50 +0000 (10:38 +0000)
committerTamas Berghammer <tberghammer@google.com>
Wed, 25 Mar 2015 10:38:50 +0000 (10:38 +0000)
commit61dc389d9368f99eb73d3b10ac8324c548c4cc44
tree845a543aec453a6cea6b88ae01d1b65721f150ef
parent3c3526bf9b2fa022004be9f8c2938978d74370d4
Create android x86_32 and x86_64 target info

On android x86_32 the long double is only 64 bits (compared to 80 bits
on linux x86_32) and on android x86_64 the long double is IEEEquad
(compared to x87DoubleExtended on linux x86_64). This CL creates new
TargetInfo classes for this targets to represent these differences.

Differential revision: http://reviews.llvm.org/D8357

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233177 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp
test/Sema/i386-linux-android.c [new file with mode: 0644]
test/Sema/x86_64-linux-android.c [new file with mode: 0644]