Skip to content

Commit 6727d58

Browse files
authored
[NFC][CFI] Remove unnecessary -rtlib=platform from tests (#136032)
Should allow to reland #135981
1 parent c409da2 commit 6727d58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/sanitizer-ld.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@
831831

832832
// CFI requirements.
833833
// RUN: not %clang -fsanitize=cfi \
834-
// RUN: --target=x86_64-unknown-linux -fuse-ld=ld -rtlib=platform \
834+
// RUN: --target=x86_64-unknown-linux -fuse-ld=ld \
835835
// RUN: -resource-dir=%S/Inputs/resource_dir \
836836
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
837837
// RUN: -### %s 2>&1 \
@@ -841,7 +841,7 @@
841841

842842
// CFI by itself does not link runtime libraries.
843843
// RUN: not %clang -fsanitize=cfi \
844-
// RUN: --target=x86_64-unknown-linux -fuse-ld=ld -rtlib=platform \
844+
// RUN: --target=x86_64-unknown-linux -fuse-ld=ld \
845845
// RUN: -resource-dir=%S/Inputs/resource_dir \
846846
// RUN: --sysroot=%S/Inputs/basic_linux_tree \
847847
// RUN: -### %s 2>&1 \

0 commit comments

Comments
 (0)