================
@@ -465,6 +468,12 @@ Interpreter::Parse(llvm::StringRef Code) {
return std::move(Err);
}
+ // Re-apply stored -mllvm options; wasm builds reset LLVM opts in wasm-ld.
+ llvm::Triple Triple(getCompilerInstance()->getTargetOpts().Triple);
+ if (Triple.isWasm()) {
+ getCompilerInstance()->parseLLVMArgs();
----------------
vgvassilev wrote:
Can we make an effort to fix that on the lld side?
https://github.com/llvm/llvm-project/pull/132670
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits