[ELF] - Format, fix mistype. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 27 Feb 2018 14:06:47 +0000 (14:06 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 27 Feb 2018 14:06:47 +0000 (14:06 +0000)
llvm-svn: 326198

lld/ELF/Writer.cpp

index 1fb2895..99718c9 100644 (file)
@@ -1933,9 +1933,8 @@ template <class ELFT> void Writer<ELFT>::setPhdrs() {
 
 static std::string rangeToString(uint64_t Addr, uint64_t Len) {
   if (Len == 0)
-    return "<emtpy range at 0x" + utohexstr(Addr) + ">";
-  return "[0x" + utohexstr(Addr) + " -> 0x" +
-         utohexstr(Addr + Len - 1) + "]";
+    return "<empty range at 0x" + utohexstr(Addr) + ">";
+  return "[0x" + utohexstr(Addr) + " -> 0x" + utohexstr(Addr + Len - 1) + "]";
 }
 
 // Check whether sections overlap for a specific address range (file offsets,