File tree 4 files changed +5
-0
lines changed 4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ This is currently hidden behind the `abi_vectorcall` gate and is subject to chan
539
539
* ` system `
540
540
* ` C `
541
541
* ` win64 `
542
+ * ` sysV64 `
542
543
543
544
Most of the abis in this list are self-explanatory, but the ` system ` abi may
544
545
seem a little odd. This constraint selects whatever the appropriate ABI is for
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ pub enum CallConv {
42
42
ColdCallConv = 9 ,
43
43
X86StdcallCallConv = 64 ,
44
44
X86FastcallCallConv = 65 ,
45
+ X86_64_SysV = 78 ,
45
46
X86_64_Win64 = 79 ,
46
47
X86_VectorCall = 80
47
48
}
Original file line number Diff line number Diff line change @@ -269,6 +269,7 @@ impl FnType {
269
269
Vectorcall => llvm:: X86_VectorCall ,
270
270
C => llvm:: CCallConv ,
271
271
Win64 => llvm:: X86_64_Win64 ,
272
+ SysV64 => llvm:: X86_64_SysV ,
272
273
273
274
// These API constants ought to be more specific...
274
275
Cdecl => llvm:: CCallConv ,
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ pub enum Abi {
39
39
Vectorcall ,
40
40
Aapcs ,
41
41
Win64 ,
42
+ SysV64 ,
42
43
43
44
// Multiplatform ABIs second
44
45
Rust ,
@@ -86,6 +87,7 @@ const AbiDatas: &'static [AbiData] = &[
86
87
AbiData { abi : Abi :: Vectorcall , name : "vectorcall" } ,
87
88
AbiData { abi : Abi :: Aapcs , name : "aapcs" } ,
88
89
AbiData { abi : Abi :: Win64 , name : "win64" } ,
90
+ AbiData { abi : Abi :: SysV64 , name : "sysV64" } ,
89
91
90
92
// Cross-platform ABIs
91
93
//
You can’t perform that action at this time.
0 commit comments