1 # REQUIRES: aarch64, x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t.o
3 # RUN: ld.lld %t.o -T %s -o %t
4 # RUN: llvm-nm %t | FileCheck %s
6 ## AArch64 needs thunks and has different address finalization process, so test
8 # RUN: llvm-mc -filetype=obj -triple=aarch64 /dev/null -o %t.o
9 # RUN: ld.lld %t.o -T %s -o %t
10 # RUN: llvm-nm %t | FileCheck %s
12 # CHECK: 0000000000001004 T a
13 # CHECK: 0000000000001003 T b
14 # CHECK: 0000000000001002 T c
15 # CHECK: 0000000000001001 T d
16 # CHECK: 0000000000001000 T e