[all-commits] [llvm/llvm-project] 4e22a6: [llvm-rc] Add /showIncludes dependency reporting (...
Oren Azad via All-commits
all-commits at lists.llvm.org
Thu Sep 10 00:26:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e22a6ef80ac0ac234acca473706cc5cce17d6c4
https://github.com/llvm/llvm-project/commit/4e22a6ef80ac0ac234acca473706cc5cce17d6c4
Author: Oren Azad <orenazad at berkeley.edu>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M llvm/docs/ReleaseNotes.md
M llvm/test/tools/llvm-rc/helpmsg.test
A llvm/test/tools/llvm-rc/show-includes.test
M llvm/tools/llvm-rc/Opts.td
M llvm/tools/llvm-rc/ResourceFileWriter.cpp
M llvm/tools/llvm-rc/ResourceFileWriter.h
M llvm/tools/llvm-rc/llvm-rc.cpp
Log Message:
-----------
[llvm-rc] Add /showIncludes dependency reporting (#217102)
Add `/showIncludes` support to `llvm-rc` so build systems can discover
the files a resource compile depends on. This enables Ninja and other
build systems to track and correctly recompile the `.rc` file when
inputs change.
Two kinds of dependencies are reported:
- Preprocessor header dependencies, by forwarding `--show-includes` to
the clang preprocessor.
- Resource files, (bitmaps, icons, manifests, etc) that are used in the
resource file.
The output format matches the `/showIncludes` format that cl.exe and
clang-cl.exe use, and that Ninja can consume natively via `deps=msvc`.
Assisted-by: Anthropic Claude Code (Opus 4.8)
Assisted-by: OpenAI Codex (GPT 5.6 Sol)
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