[PATCH] D41426: [WebAssembly] Refactor symbol and symbol table to remove WasmSymbol references

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 20:26:04 PST 2017


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

This WasmSymbol types comes directly from the input objects
but we want to be able to represent synthetic symbols too.

This is more in line with how the ELF linker represents symbols.

This change also removes the logic from Symbol::getVirtualAddress
for finding the global address and instead has the InputFile
provide this.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41426

Files:
  wasm/InputFiles.cpp
  wasm/InputFiles.h
  wasm/SymbolTable.cpp
  wasm/SymbolTable.h
  wasm/Symbols.cpp
  wasm/Symbols.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41426.127650.patch
Type: text/x-patch
Size: 16080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171220/c70f9113/attachment.bin>


More information about the llvm-commits mailing list