aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-objdump/AArch64/macho-link-opt-hints.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-objdump/AArch64/macho-link-opt-hints.test')
-rw-r--r--test/tools/llvm-objdump/AArch64/macho-link-opt-hints.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/AArch64/macho-link-opt-hints.test b/test/tools/llvm-objdump/AArch64/macho-link-opt-hints.test
new file mode 100644
index 0000000..932bc4f
--- /dev/null
+++ b/test/tools/llvm-objdump/AArch64/macho-link-opt-hints.test
@@ -0,0 +1,11 @@
+RUN: llvm-objdump -m -link-opt-hints %p/Inputs/link-opt-hints.macho-aarch64 | FileCheck %s
+
+CHECK: Linker optimiztion hints (8 total bytes)
+CHECK: identifier 8 AdrpLdrGot
+CHECK: narguments 2
+CHECK: value 0x18
+CHECK: value 0x1c
+CHECK: identifier 7 AdrpAdd
+CHECK: narguments 2
+CHECK: value 0x6c
+CHECK: value 0x70