fix typos
authorNick Kledzik <kledzik@apple.com>
Tue, 8 Oct 2013 02:07:19 +0000 (02:07 +0000)
committerNick Kledzik <kledzik@apple.com>
Tue, 8 Oct 2013 02:07:19 +0000 (02:07 +0000)
llvm-svn: 192154

lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp

index 37206dd..8ed9f98 100644 (file)
@@ -72,7 +72,7 @@ namespace normalized {
 
 /// The real mach-o relocation record is 8-bytes on disk and is
 /// encoded in one of two different bit-field patterns.  This
-/// normalized form has the union of all possbile fields.
+/// normalized form has the union of all possible fields.
 struct Relocation {
   Relocation() : offset(0), scattered(false), 
                  type(llvm::MachO::GENERIC_RELOC_VANILLA), 
index 1e212d8..3aead42 100644 (file)
@@ -382,7 +382,7 @@ struct ScalarEnumerationTraits<RelocationInfoType> {
                                   llvm::MachO::ARM_RELOC_HALF_SECTDIFF);
       break;
     default:
-      llvm_unreachable("unknown archictecture");
+      llvm_unreachable("unknown architecture");
     }
  }
 };