mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:40:10 +01:00
### Description When lowering symbols (functions, global variables, and vtables), a new `SemIR::Mangler` was being created on each call. Each `Mangler` creates its own `InstFingerprinter` with a fresh store, preventing any fingerprint computations from being reused across manglings. This PR caches a single `SemIR::Mangler` instance in `FileContext` so that the underlying fingerprint cache is preserved and reused across all symbol manglings within the file. Assisted-by: Google Deepmind Antigravity