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

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 20:43:42 PDT 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, aheejin.

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.143037.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180419/7c554764/attachment.bin>


More information about the llvm-commits mailing list