[all-commits] [llvm/llvm-project] d7b168: [lldb][test] Stop deleting the clang module cache ...

Charles Zablit via All-commits all-commits at lists.llvm.org
Thu Sep 24 09:24:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7b16806c4f1758f3642a966eedf83c58e770e76
      https://github.com/llvm/llvm-project/commit/d7b16806c4f1758f3642a966eedf83c58e770e76
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M lldb/test/API/lit.cfg.py

  Log Message:
  -----------
  [lldb][test] Stop deleting the clang module cache between lit runs (#226174)

A test binary's DWARF names the .pcm files in this cache, and make will
not rebuild an up-to-date `a.out` to regenerate them. Deleting it leaves
every ClangImporter test pointing at a deleted module.

Deleting is also redundant: a changed compiler already forces a rebuild
through `tool_prereq` inside of `Makefile.rules`.

On Windows, in swiftlang, this fixes 26 tests in `check-lldb-swift`
(ClangImporter/DWARFImporter/cxx-interop) and 105 "module file does not
exist" errors.



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