summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-02-25 22:59:20 +0000
committerJustin Bogner <mail@justinbogner.com>2015-02-25 22:59:20 +0000
commita7ad4b3f3b841a95510ddaab2ee4e998d9ed0a2a (patch)
tree32c379aec2f5610826db98bcb031d19075c021ae /llvm/lib/Object/Binary.cpp
parent2e427d4dbd4ca8cae143b4096d0f64eb503a555c (diff)
downloadbcm5719-llvm-a7ad4b3f3b841a95510ddaab2ee4e998d9ed0a2a.tar.gz
bcm5719-llvm-a7ad4b3f3b841a95510ddaab2ee4e998d9ed0a2a.zip
Object: Handle Mach-O kext bundle files
This particular subtype of Mach-O was missing. Add it. llvm-svn: 230567
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
-rw-r--r--llvm/lib/Object/Binary.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Object/Binary.cpp b/llvm/lib/Object/Binary.cpp
index c56eeb1ea8b..a2b167a665c 100644
--- a/llvm/lib/Object/Binary.cpp
+++ b/llvm/lib/Object/Binary.cpp
@@ -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:
OpenPOWER on IntegriCloud