From: Peter Collingbourne Date: Wed, 17 Nov 2010 00:43:43 +0000 (+0000) Subject: Fix typo: Exectuable -> Executable X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b1a33c4a598d67a9b911bb3b45b379e36fb9396c;p=oota-llvm.git Fix typo: Exectuable -> Executable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119433 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h index eca9dd9f876..f0a545067f0 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 c2ab4a5dbbc..0ef730bd4eb 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 5d8de656612..ba47b51ff09 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;