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:
274220c
)
ELF: Add '*' to auto.
author
Rui Ueyama
<ruiu@google.com>
Thu, 25 Feb 2016 23:58:21 +0000
(23:58 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Thu, 25 Feb 2016 23:58:21 +0000
(23:58 +0000)
llvm-svn: 261941
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index a87770ec25e41ea7f41b997702584cdc565f2665..9dad3ab83f932872d349a97b28df65a78b39beaa 100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-1492,7
+1492,7
@@
template <class ELFT> void Writer<ELFT>::writeHeader() {
*HBuf++ = P.H;
// Write the section header table. Note that the first table entry is null.
- auto SHdrs = reinterpret_cast<Elf_Shdr *>(Buf + EHdr->e_shoff);
+ auto
*
SHdrs = reinterpret_cast<Elf_Shdr *>(Buf + EHdr->e_shoff);
for (OutputSectionBase<ELFT> *Sec : getSections())
Sec->writeHeaderTo(++SHdrs);
}