[all-commits] [llvm/llvm-project] baccad: [lldb][test] Assume clang supports -gmodules (#201...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Fri Jun 5 00:58:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baccad7b70143154bf978b00d3a8bed9a03db84a
      https://github.com/llvm/llvm-project/commit/baccad7b70143154bf978b00d3a8bed9a03db84a
  Author: Raphael Isemann <rise at apple.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    M lldb/packages/Python/lldbsuite/support/gmodules.py

  Log Message:
  -----------
  [lldb][test] Assume clang supports -gmodules (#201333)

We currently spend 50ms in most dotest invocations to check if clang
supports `-gmodules`. The expensive part of this check is creating the
clang process to run `clang --help`.

`-gmodules` was added 11 years ago and is present in any compiler that
has even a remote chance in supporting the rest of our test suite. This
patch just assumes that our compiler supports -gmodules if it is clang.



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