[PATCH] D61811: [WebAssembly] Refactor synthetic sections and relocation processing. NFC.

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 16:44:02 PDT 2019


sbc100 created this revision.
Herald added subscribers: llvm-commits, jfb, mgrang, MaskRay, sunfish, aheejin, jgravelle-google, arichardson, mgorny, emaste, dschuff.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

Major refactor to better match the structure of the ELF linker.

- Split out relocation processing into scanRelocations
- Split out synthetic sections into their own classes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61811

Files:
  lld/ELF/SyntheticSections.h
  lld/test/wasm/data-layout.ll
  lld/wasm/CMakeLists.txt
  lld/wasm/InputChunks.h
  lld/wasm/InputFiles.cpp
  lld/wasm/OutputSections.cpp
  lld/wasm/OutputSections.h
  lld/wasm/Relocations.cpp
  lld/wasm/Relocations.h
  lld/wasm/Symbols.cpp
  lld/wasm/Symbols.h
  lld/wasm/SyntheticSections.cpp
  lld/wasm/SyntheticSections.h
  lld/wasm/Writer.cpp
  lld/wasm/Writer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61811.199108.patch
Type: text/x-patch
Size: 84864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190510/afbcbe2c/attachment-0001.bin>


More information about the llvm-commits mailing list