summaryrefslogtreecommitdiff
path: root/test/ELF/linkerscript/icf.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/linkerscript/icf.s')
-rw-r--r--test/ELF/linkerscript/icf.s11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ELF/linkerscript/icf.s b/test/ELF/linkerscript/icf.s
deleted file mode 100644
index 7c74458232aa..000000000000
--- a/test/ELF/linkerscript/icf.s
+++ /dev/null
@@ -1,11 +0,0 @@
-# REQUIRES: x86
-
-# RUN: echo "foo = 1; bar = 2;" > %t.script
-# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
-# RUN: ld.lld %t.o %t.script -o %t --icf=all --print-icf-sections | count 0
-
-.section .text.foo,"ax",@progbits
-jmp foo
-
-.section .text.bar,"ax",@progbits
-jmp bar