[WebAssembly] Match llvm-side change to reloc section header

Differential Revision: https://reviews.llvm.org/D45795

llvm-svn: 330750
This commit is contained in:
Sam Clegg 2018-04-24 18:11:47 +00:00
parent 6f08c84ae5
commit 1bfdabacfe
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}