zig/test/link
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
..
bss test: introduce link(er) tests - builds on standalone tests 2022-06-20 17:59:17 +02:00
common_symbols test: introduce link(er) tests - builds on standalone tests 2022-06-20 17:59:17 +02:00
common_symbols_alignment test: introduce link(er) tests - builds on standalone tests 2022-06-20 17:59:17 +02:00
interdependent_static_c_libs test: introduce link(er) tests - builds on standalone tests 2022-06-20 17:59:17 +02:00
macho link-tests: test uuid on x86_64-macos too 2022-12-27 16:43:35 +01:00
static_lib_as_system_lib test: introduce link(er) tests - builds on standalone tests 2022-06-20 17:59:17 +02:00
wasm wasm-linker: Fix & mangle symbol name of imports 2023-01-03 10:02:54 +01:00