[all-commits] [llvm/llvm-project] 974fc1: [clang][Frontend] Table-drive compiler option dump...
David Zbarsky via All-commits
all-commits at lists.llvm.org
Wed Jul 8 07:27:33 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 974fc1319640cce76523bcee48d003421ec7c163
https://github.com/llvm/llvm-project/commit/974fc1319640cce76523bcee48d003421ec7c163
Author: David Zbarsky <dzbarsky at gmail.com>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M clang/lib/Frontend/FrontendActions.cpp
M clang/test/Frontend/compiler-options-dump.cpp
Log Message:
-----------
[clang][Frontend] Table-drive compiler option dumping (#203161)
`Features.def` currently expands 228 feature formatting expressions and
49 extension formatting expressions in
`DumpCompilerOptionsAction::ExecuteAction`. This stores the names in
NUL-separated character blobs, evaluates the predicates into local
`bool` arrays, and formats both arrays with `writeCompilerOptionValues`.
In a Release arm64 build, standalone clang decreases by 49,256 bytes
unstripped and 49,520 bytes stripped, while the LLVM multicall binary
decreases by 49,264 bytes unstripped and 49,528 bytes stripped; linked
`__text` decreases by 52,696 bytes and linked fixups decrease by 7.
Work towards #202616
AI tool disclosure: Co-authored with OpenAI Codex.
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