emscripten-core/emscripten

Cryptic `sig is undefined` error in reportUndefinedSymbols() if function signature not available

Open

#17,283 opened on 2022年6月21日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)C++ (27,361 stars) (3,519 forks)batch import
good first bughelp wanted

説明

Discussed in https://github.com/emscripten-core/emscripten/discussions/17266

Originally posted by johnwason June 18, 2022 Currently if a function signature is not defined, reportUndefinedSymbols() will simple raise an error sig is undefined, which is not at all helpful. An error handler should be added to check if the value passed to addFunction() does not have sig defined, and report something more useful to the user. See #17264

コントリビューターガイド

Cryptic `sig is undefined` error in reportUndefinedSymbols() if function signature not available · emscripten-core/emscripten#17283 | Good First Issue