[PATCH] D158140: WIP: [clang-repl] Basic WebAssembly support for running inside a JS engine
Anubhab Ghosh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 23 04:49:02 PDT 2023
argentite added inline comments.
================
Comment at: clang/lib/Interpreter/WASM.cpp:79
+ int Result =
+ lld::wasm::link(LinkerArgs, llvm::outs(), llvm::errs(), false, false);
+ if (!Result)
----------------
v.g.vassilev wrote:
> I am not sure how we can solve that dependency here. Worst case scenario, could we check if `lld` is installed and make a system call?
AFAIK we can't really `exec()` within Emscripten.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158140/new/
https://reviews.llvm.org/D158140
More information about the cfe-commits
mailing list