1 # REQUIRES: aarch64-registered-target
2 ## Test that we can copy LC_LINKER_OPTIMIZATION_HINT.
4 # RUN: llvm-mc -filetype=obj -triple=arm64-apple-darwin %s -o %t.o
5 # RUN: llvm-objdump --macho --link-opt-hints - < %t.o > %tloh.txt
6 # RUN: FileCheck --input-file=%tloh.txt %s
8 # CHECK: Linker optimiztion hints (8 total bytes)
9 # CHECK-NEXT: identifier 7 AdrpAdd
11 # RUN: llvm-objcopy %t.o %t.copy.o
12 # RUN: llvm-objdump --macho --link-opt-hints - < %t.copy.o | diff %tloh.txt -
20 add x0
, x0
, _foo@PAGEOFF