Object: Handle Mach-O kext bundle files
[oota-llvm.git] / lib / Object / Binary.cpp
index c56eeb1ea8b8d95968726a32f504dda6f1bb0108..a2b167a665c567c0b41b9aec3785c8d21fcd23cd 100644 (file)
@@ -58,6 +58,7 @@ ErrorOr<std::unique_ptr<Binary>> object::createBinary(MemoryBufferRef Buffer,
     case sys::fs::file_magic::macho_bundle:
     case sys::fs::file_magic::macho_dynamically_linked_shared_lib_stub:
     case sys::fs::file_magic::macho_dsym_companion:
+    case sys::fs::file_magic::macho_kext_bundle:
     case sys::fs::file_magic::coff_object:
     case sys::fs::file_magic::coff_import_library:
     case sys::fs::file_magic::pecoff_executable: