Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnr
Add support for emitting functions with `coldcc` to LLVM The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.
This commit is contained in:
commit
91cacb3faf
14 changed files with 132 additions and 4 deletions
|
@ -1620,7 +1620,8 @@ impl Target {
|
|||
| PlatformIntrinsic
|
||||
| Unadjusted
|
||||
| Cdecl { .. }
|
||||
| EfiApi => true,
|
||||
| EfiApi
|
||||
| RustCold => true,
|
||||
X86Interrupt => ["x86", "x86_64"].contains(&&self.arch[..]),
|
||||
Aapcs { .. } => "arm" == self.arch,
|
||||
CCmseNonSecureCall => ["arm", "aarch64"].contains(&&self.arch[..]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue