aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-objdump/X86/macho-dylib.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-objdump/X86/macho-dylib.test')
-rw-r--r--test/tools/llvm-objdump/X86/macho-dylib.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/X86/macho-dylib.test b/test/tools/llvm-objdump/X86/macho-dylib.test
new file mode 100644
index 0000000..0e31b8b
--- /dev/null
+++ b/test/tools/llvm-objdump/X86/macho-dylib.test
@@ -0,0 +1,6 @@
+RUN: llvm-objdump -m -dylibs-used %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s -check-prefix=USED
+RUN: llvm-objdump -m -dylib-id %p/Inputs/dylibLoadKinds.macho-x86_64 | FileCheck %s -check-prefix=ID
+
+USED: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
+
+ID: /usr/lib/foo.dylib