[clang] 6727d58 - [NFC][CFI] Remove unnecessary -rtlib=platform from tests (#136032)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 16 14:59:21 PDT 2025


Author: Vitaly Buka
Date: 2025-04-16T14:59:18-07:00
New Revision: 6727d588919a49ae14d0857d2a642099098c9194

URL: https://github.com/llvm/llvm-project/commit/6727d588919a49ae14d0857d2a642099098c9194
DIFF: https://github.com/llvm/llvm-project/commit/6727d588919a49ae14d0857d2a642099098c9194.diff

LOG: [NFC][CFI] Remove unnecessary -rtlib=platform from tests (#136032)

Should allow to reland https://github.com/llvm/llvm-project/pull/135981

Added: 
    

Modified: 
    clang/test/Driver/sanitizer-ld.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/sanitizer-ld.c b/clang/test/Driver/sanitizer-ld.c
index 67ca33d676d20..0ace06bac3b31 100644
--- a/clang/test/Driver/sanitizer-ld.c
+++ b/clang/test/Driver/sanitizer-ld.c
@@ -831,7 +831,7 @@
 
 // CFI requirements.
 // RUN: not %clang -fsanitize=cfi \
-// RUN:     --target=x86_64-unknown-linux -fuse-ld=ld -rtlib=platform \
+// RUN:     --target=x86_64-unknown-linux -fuse-ld=ld \
 // RUN:     -resource-dir=%S/Inputs/resource_dir \
 // RUN:     --sysroot=%S/Inputs/basic_linux_tree \
 // RUN:     -### %s 2>&1 \
@@ -841,7 +841,7 @@
 
 // CFI by itself does not link runtime libraries.
 // RUN: not %clang -fsanitize=cfi \
-// RUN:     --target=x86_64-unknown-linux -fuse-ld=ld -rtlib=platform \
+// RUN:     --target=x86_64-unknown-linux -fuse-ld=ld \
 // RUN:     -resource-dir=%S/Inputs/resource_dir \
 // RUN:     --sysroot=%S/Inputs/basic_linux_tree \
 // RUN:     -### %s 2>&1 \


        


More information about the cfe-commits mailing list