Closed kripken closed 5 years ago
I don't see ORIGINAL_EXPORTED_FUNCTIONS ever getting appended to in the source code. Am I missing something? I'll keep digging.
I don't see ORIGINAL_EXPORTED_FUNCTIONS ever getting appended to in the source code. Am I missing something? I'll keep digging.
Looks like its shared.Building.user_requested_exports
that is failing to include this.
Oh sorry, yeah, we may have renamed that at some point.
Followup to #6233
wasm3.test_llvm_used
fails due to this.I think the issue is that in metadce we remove everything but what the user explicitly exported (if we see it is not used). What fastcomp does is append
llvm.used
toORIGINAL_EXPORTED_FUNCTIONS
. Do we have a way to do that with the LLVM wasm backend?cc @sbc100