Enable inline stack probes on X86 with LLVM 16

This commit is contained in:
Josh Stone
2022-09-29 19:13:30 -07:00
parent 1bb8d276c9
commit ed9e6f2ad8
36 changed files with 87 additions and 65 deletions

View File

@@ -6,8 +6,7 @@ pub fn opts() -> TargetOptions {
env: "gnu".into(),
disable_redzone: true,
panic_strategy: PanicStrategy::Abort,
// don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
stack_probes: StackProbeType::Call,
stack_probes: StackProbeType::X86,
frame_pointer: FramePointer::Always,
position_independent_executables: true,
needs_plt: true,