riscv64imac: allow shadow call stack sanitizer
This commit is contained in:
parent
6cf068db56
commit
9c29b33c7e
4 changed files with 52 additions and 9 deletions
|
@ -28,7 +28,7 @@ pub fn target() -> Target {
|
|||
code_model: Some(CodeModel::Medium),
|
||||
emit_debug_gdb_scripts: false,
|
||||
eh_frame_header: false,
|
||||
supported_sanitizers: SanitizerSet::KERNELADDRESS,
|
||||
supported_sanitizers: SanitizerSet::KERNELADDRESS | SanitizerSet::SHADOWCALLSTACK,
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ pub fn target() -> Target {
|
|||
code_model: Some(CodeModel::Medium),
|
||||
emit_debug_gdb_scripts: false,
|
||||
eh_frame_header: false,
|
||||
supported_sanitizers: SanitizerSet::KERNELADDRESS,
|
||||
supported_sanitizers: SanitizerSet::KERNELADDRESS | SanitizerSet::SHADOWCALLSTACK,
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue