3 ## Test we enable data sections for LTO so --symbol-ordering-fils is respected
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-scei-ps4 %s -o %t.o
7 # RUN: llvm-as %p/Inputs/data-ordering-lto.ll -o %t.bc
9 # RUN: echo "tin " > %t_order_lto.txt
10 # RUN: echo "dipsy " >> %t_order_lto.txt
11 # RUN: echo "pat " >> %t_order_lto.txt
13 # RUN: ld.lld --symbol-ordering-file %t_order_lto.txt %t.o %t.bc -o %t
14 # RUN: llvm-nm -v %t | FileCheck %s