[Lldb-commits] [lldb] [lldb][test] Stop deleting the clang module cache between lit runs (PR #226174)

via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 24 07:07:51 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Charles Zablit (charles-zablit)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/226174.diff


1 Files Affected:

- (modified) lldb/test/API/lit.cfg.py (-1) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


https://github.com/llvm/llvm-project/pull/226174


More information about the lldb-commits mailing list