[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-objcopy / MachO / lc-linker-optimization-hint.s
blob2c2ec6f7be9354928206d71c37fa035de03ba907
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 -
14 .text
15 .align 2
16 _test:
17 L1:
18 adrp x0, _foo@PAGE
19 L2:
20 add x0, x0, _foo@PAGEOFF
21 .loh AdrpAdd L1, L2
23 .data
24 _foo:
25 .long 0