mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
50a130cff5
commit
b4d6a560c1
BIN
test/Object/Inputs/macho-empty-kext-bundle-x86-64
Executable file
BIN
test/Object/Inputs/macho-empty-kext-bundle-x86-64
Executable file
Binary file not shown.
7
test/Object/kext.test
Normal file
7
test/Object/kext.test
Normal 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
|
Loading…
Reference in New Issue
Block a user