summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.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/Support/Path.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/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}
OpenPOWER on IntegriCloud