[all-commits] [llvm/llvm-project] cc7d71: [lldb] Launch the Wasm runtime with the file the t...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jul 31 18:40:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc7d719fd9ad74ae251da7b4f4abf3af01ba32ac
      https://github.com/llvm/llvm-project/commit/cc7d719fd9ad74ae251da7b4f4abf3af01ba32ac
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M lldb/source/Plugins/Platform/WebAssembly/PlatformWasm.cpp

  Log Message:
  -----------
  [lldb] Launch the Wasm runtime with the file the target has (#213384)

PlatformWasm hands the runtime the module to run as a path on the host
it launches the runtime on. It takes that path from the launch info,
whose executable is the name the module goes by on the platform. That
name is whatever a stub reported the module under, which need not be a
path that resolves on this host, so a relaunch runs a file that does not
exist:

```
(lldb) run
error: WebAssembly runtime exited with exit code 255
```

Run the file the target has instead. Only a runtime launched on this
host is affected, since a connection to a remote Wasm platform delegates
the launch to that platform.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list