mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 09:23:48 +02:00
+ added (not yet configurable) target LLVM version
git-svn-id: trunk@32881 -
This commit is contained in:
parent
3dbe97d9b6
commit
d290ede5a6
@ -44,6 +44,9 @@ interface
|
|||||||
{ comphook pulls in sysutils anyways }
|
{ comphook pulls in sysutils anyways }
|
||||||
cutils,cclasses,cfileutl,
|
cutils,cclasses,cfileutl,
|
||||||
cpuinfo,
|
cpuinfo,
|
||||||
|
{$if defined(LLVM) and not defined(GENERIC_CPU)}
|
||||||
|
llvminfo,
|
||||||
|
{$endif LLVM and not GENERIC_CPU}
|
||||||
globtype,version,systems;
|
globtype,version,systems;
|
||||||
|
|
||||||
const
|
const
|
||||||
@ -167,6 +170,10 @@ interface
|
|||||||
instructionset : tinstructionset;
|
instructionset : tinstructionset;
|
||||||
{$endif defined(ARM)}
|
{$endif defined(ARM)}
|
||||||
|
|
||||||
|
{$if defined(LLVM) and not defined(GENERIC_CPU)}
|
||||||
|
llvmversion: tllvmversion;
|
||||||
|
{$endif defined(LLVM) and not defined(GENERIC_CPU)}
|
||||||
|
|
||||||
{ CPU targets with microcontroller support can add a controller specific unit }
|
{ CPU targets with microcontroller support can add a controller specific unit }
|
||||||
controllertype : tcontrollertype;
|
controllertype : tcontrollertype;
|
||||||
|
|
||||||
@ -490,6 +497,9 @@ interface
|
|||||||
{$if defined(ARM)}
|
{$if defined(ARM)}
|
||||||
instructionset : is_arm;
|
instructionset : is_arm;
|
||||||
{$endif defined(ARM)}
|
{$endif defined(ARM)}
|
||||||
|
{$if defined(LLVM) and not defined(GENERIC_CPU)}
|
||||||
|
llvmversion : llvmver_3_6_0;
|
||||||
|
{$endif defined(LLVM) and not defined(GENERIC_CPU)}
|
||||||
controllertype : ct_none;
|
controllertype : ct_none;
|
||||||
pmessage : nil;
|
pmessage : nil;
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user