3 ms·
_Z3addii looks like C++ name mangling - embedding parameter/return type information in the symbol (function) name, required to support C++ features on top of th
by andrewf 6y ago
_Z3addii looks like C++ name mangling - embedding parameter/return type information in the symbol (function) name, required to support C++ features on top of the linkers C++ grew up with.
Declaring the function as `extern "C"` would turn the symbol name into "add", or maybe "_add". I suspect the author extracted the name from compiler-generated assembly or from a tool to list the symbols a .wasm exports.
- jesuisundev 6y agoYes, you need to read the article to confirm it. Nothing is hidden.