summaryrefslogtreecommitdiff
path: root/test/ELF/lto/symbol-ordering-lto.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/lto/symbol-ordering-lto.s')
-rw-r--r--test/ELF/lto/symbol-ordering-lto.s26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/ELF/lto/symbol-ordering-lto.s b/test/ELF/lto/symbol-ordering-lto.s
deleted file mode 100644
index 6a35c60772a6d..0000000000000
--- a/test/ELF/lto/symbol-ordering-lto.s
+++ /dev/null
@@ -1,26 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-scei-ps4 %s -o %t.o
-# RUN: llvm-as %p/Inputs/symbol-ordering-lto.ll -o %t.bc
-
-# Set up the symbol file
-# RUN: echo "tin " > %t_order_lto.txt
-# RUN: echo "_start " >> %t_order_lto.txt
-# RUN: echo "pat " >> %t_order_lto.txt
-
-# RUN: ld.lld --symbol-ordering-file %t_order_lto.txt %t.o %t.bc -o %t2.out
-# RUN: llvm-readelf --symbols %t2.out| FileCheck %s
-
-# Check that the order is tin -> _start -> pat.
-
-# CHECK: Symbol table '.symtab' contains 5 entries:
-# CHECK-NEXT: Num: Value Size Type Bind Vis Ndx Name
-# CHECK-NEXT: 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
-# CHECK-NEXT: 1: 0000000000000000 0 FILE LOCAL DEFAULT ABS {{.*}}.o
-# CHECK-NEXT: 2: 0000000000201008 0 NOTYPE GLOBAL DEFAULT 1 _start
-# CHECK-NEXT: 3: 0000000000201020 6 FUNC GLOBAL DEFAULT 1 pat
-# CHECK-NEXT: 4: 0000000000201000 6 FUNC GLOBAL DEFAULT 1 tin
-
-.globl _start
-_start:
- call pat
- call tin