1 # REQUIRES: llvm-64-bits
2 # REQUIRES: system-linux
5 # RUN: yaml2obj %s > %t
6 # RUN: dd if=%t of=%t bs=1 count=0 seek=1M
9 # RUN: SYM64_THRESHOLD=19 llvm-ar cr %t.lib %t %t2 %p/Inputs/trivial-object-test.elf-x86-64
10 # RUN: llvm-nm --print-armap %t.lib | FileCheck %s
11 # RUN: grep SYM64 %t.lib
13 # Delete temp files. They are too large.
14 # RUN: rm -f %t %t2 %t.lib
26 AddressAlign: 0x0000000000000001
31 # CHECK-NEXT: main in trivial-object-test.elf-x86-64
33 # CHECK: archive-GNU64-write.test.tmp:
35 # CHECK: archive-GNU64-write.test.tmp2:
37 # CHECK: trivial-object-test.elf-x86-64:
38 # CHECK-NEXT: U SomeOtherFunction
39 # CHECK-NEXT: 0000000000000000 T main