Skip to content

Commit df751d8

Browse files
committed
freebsd arm64 add supported sanitizers.
1 parent 99efc51 commit df751d8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
use crate::spec::{Target, TargetOptions};
1+
use crate::spec::{SanitizerSet, Target, TargetOptions};
22

33
pub fn target() -> Target {
44
Target {
55
llvm_target: "aarch64-unknown-freebsd".to_string(),
66
pointer_width: 64,
77
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
88
arch: "aarch64".to_string(),
9-
options: TargetOptions { max_atomic_width: Some(128), ..super::freebsd_base::opts() },
9+
options: TargetOptions {
10+
max_atomic_width: Some(128),
11+
supported_sanitizers: SanitizerSet::ADDRESS
12+
| SanitizerSet::MEMORY
13+
| SanitizerSet::THREAD,
14+
..super::freebsd_base::opts()
15+
},
1016
}
1117
}

0 commit comments

Comments
 (0)