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

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 13:15:55 PST 2018


sbc100 added a comment.

Sorry, I can see why its confusing.  The concept of a wasm global is different to the concept of a symbol (which can have local or global binding).    We now have three symbols types which can name data, functions or wasm globals.   I the ELF world the first two would be called STT_OBJECT and STT_FUNC.  This new type has no ELF equivalent since its a wasm specific concept.  So far the only use for this symbol type is the stack pointer but we see future uses (for example for tls access and possibly via intrinsics or assembly).


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43264





More information about the llvm-commits mailing list