[PATCH] D45795: Match llvm-side change to reloc section header

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 24 11:15:15 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD330750: [WebAssembly] Match llvm-side change to reloc section header (authored by sbc, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D45795?vs=143037&id=143787#toc

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D45795

Files:
  wasm/Writer.cpp


Index: wasm/Writer.cpp
===================================================================
--- wasm/Writer.cpp
+++ wasm/Writer.cpp
@@ -380,7 +380,7 @@
 
     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);
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45795.143787.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180424/cdeb50bc/attachment.bin>


More information about the llvm-commits mailing list