Skip to content

Commit

Permalink
Auto merge of rust-lang#97512 - scottmcm:add-coldcc, r=nagisa,lcnr
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jun 7, 2022
2 parents ede985e + 4ee48c0 commit d8bd0a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/abi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fn clif_sig_from_fn_abi<'tcx>(
) -> Signature {
let call_conv = match fn_abi.conv {
Conv::Rust | Conv::C => default_call_conv,
Conv::RustCold => CallConv::Cold,
Conv::X86_64SysV => CallConv::SystemV,
Conv::X86_64Win64 => CallConv::WindowsFastcall,
Conv::ArmAapcs
Expand Down

0 comments on commit d8bd0a9

Please sign in to comment.