You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LTO of mixed wasm & bitcode files not working when linking with WASM_OBJECT_FILES=0 #8599
Using these flags for both compile and link invocations of emcc: --llvm-opts 3 --llvm-lto 1 -s WASM_OBJECT_FILES=0
And then passing in a .o containing wasm on emcc's link step gives the following warning: emcc:WARNING: mywasm.o is not a valid input file
It's just a warning, it still continues to produce a wasm module, even though the main() is in the above .o file :) I haven't investigated this further.
maybe WASM_OBJECT_FILES=0 could just be ignored in the link step such that mixed use is still accepted.
Activity
Allow wasm object files as input, even when WASM_OBJECT_FILES=0 is set
Allow wasm object files as input, even when WASM_OBJECT_FILES=0 is set
Allow wasm object files as input, even when WASM_OBJECT_FILES=0 is set
Allow wasm object files as input, even when WASM_OBJECT_FILES=0 is set (
Allow wasm object files as input, even when WASM_OBJECT_FILES=0 is set (
Allow wasm object files as input, even when WASM_OBJECT_FILES=0 is set (