summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-14 00:39:22 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-14 00:39:22 +0000
commit557a81e9d7a17974ec11ff6bfb9f1ca4a5450ebd (patch)
tree76e29e9bdbc018039e611fd1dccf07b99a085f1a /llvm/lib/Support/Path.cpp
parentedc216515ec5cf5607e6cba6e2f67a83189ea49e (diff)
downloadbcm5719-llvm-557a81e9d7a17974ec11ff6bfb9f1ca4a5450ebd.tar.gz
bcm5719-llvm-557a81e9d7a17974ec11ff6bfb9f1ca4a5450ebd.zip
ObjectFile: Add support for mach-o-style dSYM companion files.
llvm-svn: 139676
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp
index 8fbaf2d42bf..e5b7cd3bfbc 100644
--- a/llvm/lib/Support/Path.cpp
+++ b/llvm/lib/Support/Path.cpp
@@ -121,7 +121,7 @@ sys::IdentifyFileType(const char *magic, unsigned length) {
case 7: return Mach_O_DynamicLinker_FileType;
case 8: return Mach_O_Bundle_FileType;
case 9: return Mach_O_DynamicallyLinkedSharedLibStub_FileType;
- case 10: break; // FIXME: MH_DSYM companion file with only debug.
+ case 10: return Mach_O_DSYMCompanion_FileType;
}
break;
}
OpenPOWER on IntegriCloud