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:
6f08c84
)
[WebAssembly] Match llvm-side change to reloc section header
author
Sam Clegg
<sbc@chromium.org>
Tue, 24 Apr 2018 18:11:47 +0000
(18:11 +0000)
committer
Sam Clegg
<sbc@chromium.org>
Tue, 24 Apr 2018 18:11:47 +0000
(18:11 +0000)
Differential Revision: https://reviews.llvm.org/D45795
llvm-svn: 330750
lld/wasm/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/wasm/Writer.cpp
b/lld/wasm/Writer.cpp
index
41aa165
..
87c0c40
100644
(file)
--- a/
lld/wasm/Writer.cpp
+++ b/
lld/wasm/Writer.cpp
@@
-380,7
+380,7
@@
void Writer::createRelocSections() {
SyntheticSection *Section = createSyntheticSection(WASM_SEC_CUSTOM, Name);
raw_ostream &OS = Section->getStream();
- writeUleb128(OS,
OSec->Type
, "reloc section");
+ writeUleb128(OS,
i
, "reloc section");
writeUleb128(OS, Count, "reloc count");
OSec->writeRelocations(OS);
}