[all-commits] [llvm/llvm-project] 8c62eb: [lldb] Make the shell expansion timeout an LLDB se...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Fri Sep 18 04:14:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c62ebfe131b6bdf9d1ab96a680ee0f85ce1b325
      https://github.com/llvm/llvm-project/commit/8c62ebfe131b6bdf9d1ab96a680ee0f85ce1b325
  Author: Raphael Isemann <rise at apple.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M lldb/include/lldb/Host/Host.h
    M lldb/include/lldb/Target/Platform.h
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/Host/aix/Host.cpp
    M lldb/source/Host/emscripten/Host.cpp
    M lldb/source/Host/freebsd/Host.cpp
    M lldb/source/Host/linux/Host.cpp
    M lldb/source/Host/macosx/objcxx/Host.mm
    M lldb/source/Host/netbsd/HostNetBSD.cpp
    M lldb/source/Host/openbsd/Host.cpp
    M lldb/source/Host/windows/Host.cpp
    M lldb/source/Target/Platform.cpp
    M lldb/source/Target/TargetProperties.td
    M lldb/test/Shell/lit-lldb-init.in

  Log Message:
  -----------
  [lldb] Make the shell expansion timeout an LLDB setting (#221952)

LLDB launches a small utility program that prints its own arguments to
expand launch arguments. This lldb-argdumper invocation was previously
capped with a hardcoded 10 second timeout, which is low enough that we
kept hitting it on CI bots in random tests:

```
runCmd failed!
>>> error: shell expansion failed (reason: timed out waiting for shell command to complete). consider launching with 'process launch'.
```

This turns the timeout into the new "platform.shell-expand-timeout"
setting (in seconds) so it can be tuned without recompiling. The
default is now three minutes, and a value of 0 disables the timeout
entirely.

The test suite now disables the timeout altogether as it serves
no purpose there.



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