aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object/kext.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/kext.test')
-rw-r--r--test/Object/kext.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Object/kext.test b/test/Object/kext.test
new file mode 100644
index 0000000..8e7c3d1
--- /dev/null
+++ b/test/Object/kext.test
@@ -0,0 +1,7 @@
+// Check that we understand kext bundles.
+// Test input generated by "clang -x c++ -fapple-kext -Wl,-kext /dev/null"
+
+RUN: llvm-readobj %p/Inputs/macho-empty-kext-bundle-x86-64 | FileCheck %s
+CHECK: Format: Mach-O 64-bit x86-64
+CHECK: Arch: x86_64
+CHECK: AddressSize: 64bit