From a7ad4b3f3b841a95510ddaab2ee4e998d9ed0a2a Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 25 Feb 2015 22:59:20 +0000 Subject: Object: Handle Mach-O kext bundle files This particular subtype of Mach-O was missing. Add it. llvm-svn: 230567 --- llvm/lib/Support/Path.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Support/Path.cpp') diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index abec7b9dd22..a11bb7feea0 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp @@ -1012,6 +1012,7 @@ file_magic identify_magic(StringRef Magic) { case 8: return file_magic::macho_bundle; case 9: return file_magic::macho_dynamically_linked_shared_lib_stub; case 10: return file_magic::macho_dsym_companion; + case 11: return file_magic::macho_kext_bundle; } break; } -- cgit v1.2.3