llvm: mangle extern Wasm functions

When Wasm extern functions contain the same name, but have a
different module name such as `extern "a"` vs `extern "b"` LLVM will
currently resolve the two functions to the same symbol. By mangling
the name of the symbol, we ensure the functions are resolved
seperately. We mangle the name by applying <name>|<module> where
module is also known as the library name.
66bcc55e01Luuk de Gram committed on 11/1/2022, 2:05:09 PMparentbd32206
1 file changedLine totals unavailable