[PATCH] D43264: [WebAssembly] Add explicit symbol table

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 14:07:19 PST 2018


sbc100 added a comment.

In https://reviews.llvm.org/D43264#1008031, @ruiu wrote:

> So, InputFunction is a function, InputSegment is a data segment, and what is "wasm global" for? It sounds like it is more like data than a function, but I wonder how "wasm global" is different from regular data section.


Wasm has these first class things called globals that live outside the address space:
https://github.com/WebAssembly/design/blob/master/Modules.md#global-section

The can only be accessed via special `get_global` and `set_gobal` instructions.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43264





More information about the llvm-commits mailing list