-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Enable reporting of undefined symbols in wasm-ld #10350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4791,40 +4791,41 @@ LibraryManager.library = { | |
| {{{ makeDynCall('vii') }}}(func, Math.min(base, end), Math.max(base, end)); | ||
| }, | ||
|
|
||
| // misc definitions to avoid unnecessary unresolved symbols from fastcomp | ||
| // misc definitions to avoid unnecessary unresolved symbols being reported | ||
| // by fastcomp or wasm-ld | ||
| #if SUPPORT_LONGJMP | ||
| emscripten_prep_setjmp: true, | ||
| emscripten_cleanup_setjmp: true, | ||
| emscripten_check_longjmp: true, | ||
| emscripten_get_longjmp_result: true, | ||
| emscripten_setjmp: true, | ||
| emscripten_prep_setjmp: function() {}, | ||
| emscripten_cleanup_setjmp: function() {}, | ||
| emscripten_check_longjmp: function() {}, | ||
| emscripten_get_longjmp_result: function() {}, | ||
| emscripten_setjmp: function() {}, | ||
| #endif | ||
| emscripten_preinvoke: true, | ||
| emscripten_postinvoke: true, | ||
| emscripten_resume: true, | ||
| emscripten_landingpad: true, | ||
| getHigh32: true, | ||
| setHigh32: true, | ||
| FtoILow: true, | ||
| FtoIHigh: true, | ||
| DtoILow: true, | ||
| DtoIHigh: true, | ||
| BDtoILow: true, | ||
| BDtoIHigh: true, | ||
| SItoF: true, | ||
| UItoF: true, | ||
| SItoD: true, | ||
| UItoD: true, | ||
| BItoD: true, | ||
| llvm_dbg_value: true, | ||
| llvm_debugtrap: true, | ||
| llvm_ctlz_i32: true, | ||
| emscripten_asm_const: true, | ||
| emscripten_asm_const_int: true, | ||
| emscripten_asm_const_double: true, | ||
| emscripten_asm_const_int_sync_on_main_thread: true, | ||
| emscripten_asm_const_double_sync_on_main_thread: true, | ||
| emscripten_asm_const_async_on_main_thread: true, | ||
| emscripten_preinvoke: function() {}, | ||
| emscripten_postinvoke: function() {}, | ||
| emscripten_resume: function() {}, | ||
| emscripten_landingpad: function() {}, | ||
| getHigh32: function() {}, | ||
| setHigh32: function() {}, | ||
| FtoILow: function() {}, | ||
| FtoIHigh: function() {}, | ||
| DtoILow: function() {}, | ||
| DtoIHigh: function() {}, | ||
| BDtoILow: function() {}, | ||
| BDtoIHigh: function() {}, | ||
| SItoF: function() {}, | ||
| UItoF: function() {}, | ||
| SItoD: function() {}, | ||
| UItoD: function() {}, | ||
| BItoD: function() {}, | ||
| llvm_dbg_value: function() {}, | ||
| llvm_debugtrap: function() {}, | ||
| llvm_ctlz_i32: function() {}, | ||
| emscripten_asm_const: function() {}, | ||
| emscripten_asm_const_int: function() {}, | ||
| emscripten_asm_const_double: function() {}, | ||
| emscripten_asm_const_int_sync_on_main_thread: function() {}, | ||
| emscripten_asm_const_double_sync_on_main_thread: function() {}, | ||
| emscripten_asm_const_async_on_main_thread: function() {}, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is this needed, and why just these functions?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Without this change the list of functions in We need the list of include these functions otherwise this new flag won't work with any EM_ASM-using code. The comment above here says |
||
|
|
||
| // ======== compiled code from system/lib/compiler-rt , see readme therein | ||
| __muldsi3__asm: true, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.