projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c00df
)
[ELF] - Format, fix mistype. NFC.
author
George Rimar
<grimar@accesssoftek.com>
Tue, 27 Feb 2018 14:06:47 +0000
(14:06 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Tue, 27 Feb 2018 14:06:47 +0000
(14:06 +0000)
llvm-svn: 326198
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
1fb2895
..
99718c9
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-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,