llvm-project/llvm/test/MC/WebAssembly
Dan Gohman db1916a646 [WebAssembly] Add mechanisms for specifying an explicit import module name.
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
2018-02-09 23:13:22 +00:00
..
array-fill.ll [WebAssembly] Use bitfield types in wasm YAML representation 2017-12-13 22:02:25 +00:00
bss.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
comdat.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
custom-code-section.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
debug-info.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
explicit-sections.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
external-data.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
external-func-address.ll [WebAssembly] Add mechanisms for specifying an explicit import module name. 2018-02-09 23:13:22 +00:00
file-headers.ll
func-address.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
global-ctor-dtor.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
lit.local.cfg
reloc-code.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
reloc-data.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
sections.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
stack-ptr.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
unnamed-data.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
visibility.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00
weak-alias.ll [WebAssebmly] Report undefined symbols correctly in objdump 2018-02-09 20:21:50 +00:00
weak.ll [WebAssembly] MC: Use inline triple in test bitcode files 2018-01-23 23:03:47 +00:00