[clang] [llvm] Enable running ClangReplInterpreterTests in an Emscripten environment (PR #150977)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 29 12:11:13 PDT 2025
================
@@ -29,8 +29,9 @@ Target &llvm::getTheWebAssemblyTarget64() {
extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void
LLVMInitializeWebAssemblyTargetInfo() {
- RegisterTarget<Triple::wasm32> X(getTheWebAssemblyTarget32(), "wasm32",
- "WebAssembly 32-bit", "WebAssembly");
+ RegisterTarget<Triple::wasm32, /*HasJIT=*/true> X(
----------------
mcbarton wrote:
@vgvassilev do you have any issues with me skipping the hostsupportsjit check for the tests when building with Emscripten (see https://github.com/mcbarton/llvm-project/blob/de878527f1671d6effa690a7e01d86cd41446fcc/clang/unittests/Interpreter/InterpreterTestFixture.h#L41 ), given @sbc comment that wasm doesn't support JIT in the traditional sense.
https://github.com/llvm/llvm-project/pull/150977
More information about the llvm-commits
mailing list