brintos

brintos / llvm-project-archived public Read only

0
0
Text · 614 B · 7e2d2d9 Raw
26 lines · plain
1# REQUIRES: aarch64, x862# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t.o3# RUN: ld.lld %t.o -T %s -o %t4# RUN: llvm-nm %t | FileCheck %s5 6## AArch64 needs thunks and has different address finalization process, so test7## it as well.8# RUN: llvm-mc -filetype=obj -triple=aarch64 /dev/null -o %t.o9# RUN: ld.lld %t.o -T %s -o %t10# RUN: llvm-nm %t | FileCheck %s11 12# CHECK: 0000000000001004 T a13# CHECK: 0000000000001003 T b14# CHECK: 0000000000001002 T c15# CHECK: 0000000000001001 T d16# CHECK: 0000000000001000 T e17 18SECTIONS {19  . = 0x1000;20  a = b + 1;21  b = c + 1;22  c = d + 1;23  d = e + 1;24  e = .;25}26