Enable inline stack probes on PowerPC and SystemZ

This commit is contained in:
Josh Stone
2022-09-26 13:40:24 -07:00
parent e1d7dec558
commit ad8f519ed7
23 changed files with 107 additions and 48 deletions

View File

@@ -1,10 +1,11 @@
use crate::abi::Endian;
use crate::spec::Target;
use crate::spec::{StackProbeType, Target};
pub fn target() -> Target {
let mut base = super::openbsd_base::opts();
base.endian = Endian::Big;
base.max_atomic_width = Some(32);
base.stack_probes = StackProbeType::Inline;
Target {
llvm_target: "powerpc-unknown-openbsd".into(),