Rollup merge of #131818 - heiher:loong-instrument-xray, r=jieyouxu

Enable XRay instrumentation for LoongArch Linux targets

Enable XRay instrumentation for `loongarch64-unknown-linux-{gnu, musl, ohos}` targets.
This commit is contained in:
Matthias Krüger 2024-10-17 20:47:30 +02:00 committed by GitHub
commit 7dbd92fadd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ pub(crate) fn target() -> Target {
| SanitizerSet::LEAK | SanitizerSet::LEAK
| SanitizerSet::MEMORY | SanitizerSet::MEMORY
| SanitizerSet::THREAD, | SanitizerSet::THREAD,
supports_xray: true,
direct_access_external_data: Some(false), direct_access_external_data: Some(false),
..base::linux_gnu::opts() ..base::linux_gnu::opts()
}, },

View File

@ -24,6 +24,7 @@ pub(crate) fn target() -> Target {
| SanitizerSet::LEAK | SanitizerSet::LEAK
| SanitizerSet::MEMORY | SanitizerSet::MEMORY
| SanitizerSet::THREAD, | SanitizerSet::THREAD,
supports_xray: true,
direct_access_external_data: Some(false), direct_access_external_data: Some(false),
..base::linux_musl::opts() ..base::linux_musl::opts()
}, },

View File

@ -22,6 +22,7 @@ pub(crate) fn target() -> Target {
| SanitizerSet::LEAK | SanitizerSet::LEAK
| SanitizerSet::MEMORY | SanitizerSet::MEMORY
| SanitizerSet::THREAD, | SanitizerSet::THREAD,
supports_xray: true,
direct_access_external_data: Some(false), direct_access_external_data: Some(false),
..base::linux_ohos::opts() ..base::linux_ohos::opts()
}, },