commit:     16e4d0d4adfcc484107943bb98e21e2c0890de23
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 21 16:53:44 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 17:12:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e4d0d4

llvm-runtimes/compiler-rt-sanitizers: Enable tysan in 20.x

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../compiler-rt-sanitizers-20.0.0_pre20241221.ebuild                    | 2 +-
 llvm-runtimes/compiler-rt-sanitizers/metadata.xml                       | 1 +
 profiles/arch/amd64/package.use.mask                                    | 2 +-
 profiles/arch/arm64/package.use.mask                                    | 2 +-
 profiles/arch/base/package.use.mask                                     | 2 +-
 5 files changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-20.0.0_pre20241221.ebuild
 
b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-20.0.0_pre20241221.ebuild
index cea1ae243486..a62e5e53e0c0 100644
--- 
a/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-20.0.0_pre20241221.ebuild
+++ 
b/llvm-runtimes/compiler-rt-sanitizers/compiler-rt-sanitizers-20.0.0_pre20241221.ebuild
@@ -18,7 +18,7 @@ IUSE+=" +ctx-profile +libfuzzer +memprof +orc +profile +xray"
 # NB: ubsan, scudo deliberately match two entries
 SANITIZER_FLAGS=(
        asan dfsan lsan msan hwasan tsan ubsan safestack cfi scudo
-       shadowcallstack gwp-asan nsan rtsan
+       shadowcallstack gwp-asan nsan rtsan tysan
 )
 IUSE+=" ${SANITIZER_FLAGS[@]/#/+}"
 REQUIRED_USE="

diff --git a/llvm-runtimes/compiler-rt-sanitizers/metadata.xml 
b/llvm-runtimes/compiler-rt-sanitizers/metadata.xml
index fcbc16ad14a3..5cba240b20b2 100644
--- a/llvm-runtimes/compiler-rt-sanitizers/metadata.xml
+++ b/llvm-runtimes/compiler-rt-sanitizers/metadata.xml
@@ -30,6 +30,7 @@
                <flag name="gwp-asan">Build GWP-ASAN runtime.</flag>
                <flag name="nsan">Build Numerical Sanitizer runtime.</flag>
                <flag name="rtsan">Build Realtime Sanitizer runtime.</flag>
+               <flag name="tysan">Build Type Sanitizer runtime.</flag>
        </use>
        <upstream>
                <remote-id type="github">llvm/llvm-project</remote-id>

diff --git a/profiles/arch/amd64/package.use.mask 
b/profiles/arch/amd64/package.use.mask
index f481218b51d7..63ee248abd0d 100644
--- a/profiles/arch/amd64/package.use.mask
+++ b/profiles/arch/amd64/package.use.mask
@@ -278,7 +278,7 @@ llvm-runtimes/compiler-rt-sanitizers -asan -dfsan -lsan 
-msan -hwasan -tsan
 llvm-runtimes/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
 llvm-runtimes/compiler-rt-sanitizers -gwp-asan
 llvm-runtimes/compiler-rt-sanitizers -libfuzzer -memprof -orc -profile -xray
-llvm-runtimes/compiler-rt-sanitizers -ctx-profile -nsan -rtsan
+llvm-runtimes/compiler-rt-sanitizers -ctx-profile -nsan -rtsan -tysan
 
 # Sam James <[email protected]> (2020-10-24)
 # asm redc is only available on amd64,

diff --git a/profiles/arch/arm64/package.use.mask 
b/profiles/arch/arm64/package.use.mask
index 3af99c996b39..1f83ab386261 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -255,7 +255,7 @@ app-text/enchant voikko
 llvm-runtimes/compiler-rt-sanitizers -asan -dfsan -lsan -msan -hwasan -tsan
 llvm-runtimes/compiler-rt-sanitizers -ubsan -safestack -cfi -scudo
 llvm-runtimes/compiler-rt-sanitizers -gwp-asan -shadowcallstack
-llvm-runtimes/compiler-rt-sanitizers -libfuzzer -profile -xray -rtsan
+llvm-runtimes/compiler-rt-sanitizers -libfuzzer -profile -xray -rtsan -tysan
 >=llvm-runtimes/compiler-rt-sanitizers-16 -orc
 
 # Roy Bamford <[email protected]> (2020-12-07)

diff --git a/profiles/arch/base/package.use.mask 
b/profiles/arch/base/package.use.mask
index 17b02910d74e..b1261a4433b4 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -268,7 +268,7 @@ llvm-runtimes/compiler-rt-sanitizers asan dfsan lsan msan 
hwasan tsan
 llvm-runtimes/compiler-rt-sanitizers ubsan safestack cfi scudo
 llvm-runtimes/compiler-rt-sanitizers shadowcallstack gwp-asan
 llvm-runtimes/compiler-rt-sanitizers libfuzzer memprof orc profile xray
-llvm-runtimes/compiler-rt-sanitizers ctx-profile nsan rtsan
+llvm-runtimes/compiler-rt-sanitizers ctx-profile nsan rtsan tysan
 
 # Sam James <[email protected]> (2020-10-24)
 # asm redc is only available on amd64,

Reply via email to