Skip to content

Commit d6ef779

Browse files
vitalybukagithub-actions[bot]
authored andcommitted
Automerge: [NFC][CFI] Remove unnecessary -rtlib=platform from tests (#136032)
Should allow to reland llvm/llvm-project#135981
2 parents c4ee556 + 6727d58 commit d6ef779

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)