[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / lld / test / ELF / lto / symbol-ordering-data.s
blob4319d2bfca56a098ba86f1f5a580608cc79921a1
1 # REQUIRES: x86
3 ## Test we enable data sections for LTO so --symbol-ordering-fils is respected
4 ## for data symbols.
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
16 # CHECK: D tin
17 # CHECK-NEXT: D dipsy
18 # CHECK-NEXT: D pat
20 .globl _start
21 _start:
22 movl $pat, %ecx
23 movl $dipsy, %ebx
24 movl $tin, %eax