[PATCH] D61971: [WebAssembly] Move code and data sectiion generation to finalizeContent. NFC.

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 17:33:53 PDT 2019


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.
Herald added a project: LLVM.

Previously these sections were being generated during their
constructors.  This moves the work to finalizeContent, and also does
the same for the relocation sections because their contents depends
on the final layout too.

This change is smaller part of a larger refactor to how we deal
with synthetic sections: https://reviews.llvm.org/D61811


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61971

Files:
  lld/wasm/OutputSections.cpp
  lld/wasm/OutputSections.h
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61971.199704.patch
Type: text/x-patch
Size: 5838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190516/1ed59964/attachment-0001.bin>


More information about the llvm-commits mailing list