From dbdf957c275eb07c0ad8ac37ab64111690760a5c Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Fri, 25 Apr 2025 13:03:53 -0700 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?= =?UTF-8?q?l=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Created using spr 1.3.4 --- compiler-rt/test/ubsan_minimal/TestCases/icall.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler-rt/test/ubsan_minimal/TestCases/icall.c b/compiler-rt/test/ubsan_minimal/TestCases/icall.c index 5c715bcc1e648..25ef3180bf4bd 100644 --- a/compiler-rt/test/ubsan_minimal/TestCases/icall.c +++ b/compiler-rt/test/ubsan_minimal/TestCases/icall.c @@ -1,6 +1,7 @@ -// RUN: %clang -fsanitize=cfi-icall -fno-sanitize-trap=cfi-icall -flto -fvisibility=hidden %s -o %t && not --crash %run %t 2>&1 | FileCheck %s +// RUN: %clang -fsanitize=cfi-icall -fno-sanitize-trap=cfi-icall -fuse-ld=lld -flto -fvisibility=hidden %s -o %t && not --crash %run %t 2>&1 | FileCheck %s +// RUN: %clang -fsanitize=cfi-icall -fno-sanitize-trap=cfi-icall -fsanitize-recover=cfi-icall -fuse-ld=lld -flto -fvisibility=hidden %s -o %t && %run %t 2>&1 | FileCheck %s -// RUN: %clang -fsanitize=cfi-icall -fno-sanitize-trap=cfi-icall -fsanitize-recover=cfi-icall -flto -fvisibility=hidden %s -o %t && %run %t 2>&1 | FileCheck %s +// REQUIRES: lld-available void f() {}