1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Object: Test for reading kext bundles

In the review for r230567, it was pointed out we should really test
the lib/Object part of that change. This does so using llvm-readobj.

llvm-svn: 230779
This commit is contained in:
Justin Bogner 2015-02-27 18:58:23 +00:00
parent 27f79d7986
commit dfad511a53
2 changed files with 7 additions and 0 deletions

Binary file not shown.

7
test/Object/kext.test Normal file
View File

@ -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