[all-commits] [llvm/llvm-project] 1c1edc: [lldb] Support building lldbHost under Emscripten ...

Anutosh Bhat via All-commits all-commits at lists.llvm.org
Wed Sep 16 00:17:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c1edc2d34e181ac8cdd5aa81e218464e1e2a642
      https://github.com/llvm/llvm-project/commit/1c1edc2d34e181ac8cdd5aa81e218464e1e2a642
  Author: Anutosh Bhat <andersonbhat491 at gmail.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M lldb/source/Host/CMakeLists.txt
    M lldb/source/Host/common/Host.cpp
    A lldb/source/Host/emscripten/Host.cpp

  Log Message:
  -----------
  [lldb] Support building lldbHost under Emscripten (#223206)

This builds on the new `HostInfoEmscripten` and `PlatformEmscripten`
support.

Emscripten provides many POSIX APIs, but it does not support `fork` or
native host process management. This patch allows `lldbHost` to build
under Emscripten without treating it as Linux.

It:

- avoids building the `ProcessLauncherPosixFork` implementation;
- adds a small Emscripten Host implementation;
- reports process enumeration, process lookup, launching and shell
expansion as unsupported.

The remaining generic POSIX Host functionality continues to be used.

This is enough for the current libLLDB and SB API experiment, while live
process debugging will be handled separately once we have an in-browser
execution backend.



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