mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 08:01:11 +03:00
Add version identifier for AArch64
This commit is contained in:
parent
399a0396d2
commit
fc24bd15ca
1 changed files with 5 additions and 0 deletions
|
@ -529,6 +529,11 @@ int main(int argc, char** argv)
|
|||
VersionCondition::addPredefinedGlobalIdent("ARM_Soft");
|
||||
VersionCondition::addPredefinedGlobalIdent("D_SoftFloat");
|
||||
break;
|
||||
#if LDC_LLVM_VER >= 303
|
||||
case llvm::Triple::aarch64:
|
||||
VersionCondition::addPredefinedGlobalIdent("AArch64");
|
||||
break;
|
||||
#endif
|
||||
case llvm::Triple::mips:
|
||||
case llvm::Triple::mipsel:
|
||||
// FIXME: Detect O32/N32 variants (MIPS_{O32,N32}[_SoftFP,_HardFP]).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue