diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-11-01 15:05:09 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-11-01 15:05:09 +0100 |
| commit | 66bcc55e0196bd43746a09a79668c7c495bd1f89 (patch) | |
| tree | ce5e5918602e157634415093009183ba370a44ec /src/stage1/softfloat_ext.cpp | |
| parent | bd32206b4449e329c9ef6ba4fd19746234f474f8 (diff) | |
| download | zig-66bcc55e0196bd43746a09a79668c7c495bd1f89.tar.gz zig-66bcc55e0196bd43746a09a79668c7c495bd1f89.zip | |
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.
Diffstat (limited to 'src/stage1/softfloat_ext.cpp')
0 files changed, 0 insertions, 0 deletions
