forked from OSchip/llvm-project
db1916a646
This adds a wasm-import-module function attribute and a .import_module assembler directive, for specifying module import names for WebAssembly. Currently these may only be used for function symbols; global variables may be considered in the future. WebAssembly has a two-level namespace scheme for symbols, and it's normally the linker's job to assign the module name, which is the first-level name. The attributes here allow users to specify their own module names explicitly, which is useful for tools generating bindings to modules defined in other languages. This feature is not fully usable yet. It will evolve along with the ongoing symbol table and lld changes. Differential Revision: https://reviews.llvm.org/D42520 llvm-svn: 324778 |
||
---|---|---|
.. | ||
array-fill.ll | ||
bss.ll | ||
comdat.ll | ||
custom-code-section.ll | ||
debug-info.ll | ||
explicit-sections.ll | ||
external-data.ll | ||
external-func-address.ll | ||
file-headers.ll | ||
func-address.ll | ||
global-ctor-dtor.ll | ||
lit.local.cfg | ||
reloc-code.ll | ||
reloc-data.ll | ||
sections.ll | ||
stack-ptr.ll | ||
unnamed-data.ll | ||
visibility.ll | ||
weak-alias.ll | ||
weak.ll |