zig/test/link/wasm
Luuk de Gram b9224c172f
wasm-linker: Fix & mangle symbol name of imports
When outputting the names section, we should output the actual symbol
name rather than the import name. This makes sure that symbols with
an explicit name set have the correct name but retain the import name
too.

We also now correctly mangle the name of an extern function with an
explicit library name. This ensures that functions that have a
different library name, but the same import/function name, can be
resolved correctly with other modules and don't resolve to the
same symbol.
2023-01-03 10:02:54 +01:00
..
archive remove -fstage1 option 2022-12-06 12:15:04 -07:00
basic-features test/link: add Wasm linker tests for features 2022-10-25 20:48:08 +02:00
bss test/link: linker tests for all export cases 2023-01-02 18:36:17 +01:00
export test/link: linker tests for all export cases 2023-01-02 18:36:17 +01:00
export-data wasm-linker: Fix & mangle symbol name of imports 2023-01-03 10:02:54 +01:00
extern test/link: add test for extern resolution 2022-08-30 18:32:08 +02:00
extern-mangle test/link: update linker tests 2022-12-28 16:49:36 +01:00
function-table test/link: add test case for function table 2023-01-02 18:36:18 +01:00
infer-features test/link: add Wasm linker tests for features 2022-10-25 20:48:08 +02:00
producers remove -fstage1 option 2022-12-06 12:15:04 -07:00
segments remove -fstage1 option 2022-12-06 12:15:04 -07:00
stack_pointer remove -fstage1 option 2022-12-06 12:15:04 -07:00
type remove -fstage1 option 2022-12-06 12:15:04 -07:00