Open juj opened 3 years ago
The way to do LTO is to use the normal llvm flag for enabling bitcode object files which is -flto
.
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant.
I am doing whole program analysis in a LLVM pass, which needs the whole program to run through a pass on a single final .bc file. I was using
-s WASM_OBJECT_FILES=0
for that feature, but now it looks like #10643 has deprecated that mode.My understanding is that the wasm object files do not allow a LLVM analysis tool pass to be run on the high level bitcode format anymore, before it's been lowered to wasm? I am not sure how to proceed without WASM_OBJECT_FILES=1 support anymore. Is there a specific reason that the .bc flow needs to go away?