aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/System/Path.h2
-rw-r--r--lib/Object/ObjectFile.cpp2
-rw-r--r--lib/System/Path.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index eca9dd9f87..f0a545067f 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -710,7 +710,7 @@ namespace sys {
Mach_O_Executable_FileType, ///< Mach-O Executable
Mach_O_FixedVirtualMemorySharedLib_FileType, ///< Mach-O Shared Lib, FVM
Mach_O_Core_FileType, ///< Mach-O Core File
- Mach_O_PreloadExectuable_FileType, ///< Mach-O Preloaded Executable
+ Mach_O_PreloadExecutable_FileType, ///< Mach-O Preloaded Executable
Mach_O_DynamicallyLinkedSharedLib_FileType, ///< Mach-O dynlinked shared lib
Mach_O_DynamicLinker_FileType, ///< The Mach-O dynamic linker
Mach_O_Bundle_FileType, ///< Mach-O Bundle file
diff --git a/lib/Object/ObjectFile.cpp b/lib/Object/ObjectFile.cpp
index c2ab4a5dbb..0ef730bd4e 100644
--- a/lib/Object/ObjectFile.cpp
+++ b/lib/Object/ObjectFile.cpp
@@ -48,7 +48,7 @@ ObjectFile *ObjectFile::createObjectFile(MemoryBuffer *Object) {
case sys::Mach_O_Executable_FileType:
case sys::Mach_O_FixedVirtualMemorySharedLib_FileType:
case sys::Mach_O_Core_FileType:
- case sys::Mach_O_PreloadExectuable_FileType:
+ case sys::Mach_O_PreloadExecutable_FileType:
case sys::Mach_O_DynamicallyLinkedSharedLib_FileType:
case sys::Mach_O_DynamicLinker_FileType:
case sys::Mach_O_Bundle_FileType:
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp
index 5d8de65661..ba47b51ff0 100644
--- a/lib/System/Path.cpp
+++ b/lib/System/Path.cpp
@@ -104,7 +104,7 @@ sys::IdentifyFileType(const char *magic, unsigned length) {
case 2: return Mach_O_Executable_FileType;
case 3: return Mach_O_FixedVirtualMemorySharedLib_FileType;
case 4: return Mach_O_Core_FileType;
- case 5: return Mach_O_PreloadExectuable_FileType;
+ case 5: return Mach_O_PreloadExecutable_FileType;
case 6: return Mach_O_DynamicallyLinkedSharedLib_FileType;
case 7: return Mach_O_DynamicLinker_FileType;
case 8: return Mach_O_Bundle_FileType;