freebsd arm64 add supported sanitizers.
This commit is contained in:
parent
99efc51dae
commit
df751d82c8
1 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
use crate::spec::{Target, TargetOptions};
|
use crate::spec::{SanitizerSet, Target, TargetOptions};
|
||||||
|
|
||||||
pub fn target() -> Target {
|
pub fn target() -> Target {
|
||||||
Target {
|
Target {
|
||||||
|
@ -6,6 +6,12 @@ pub fn target() -> Target {
|
||||||
pointer_width: 64,
|
pointer_width: 64,
|
||||||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
|
||||||
arch: "aarch64".to_string(),
|
arch: "aarch64".to_string(),
|
||||||
options: TargetOptions { max_atomic_width: Some(128), ..super::freebsd_base::opts() },
|
options: TargetOptions {
|
||||||
|
max_atomic_width: Some(128),
|
||||||
|
supported_sanitizers: SanitizerSet::ADDRESS
|
||||||
|
| SanitizerSet::MEMORY
|
||||||
|
| SanitizerSet::THREAD,
|
||||||
|
..super::freebsd_base::opts()
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue