[all-commits] [llvm/llvm-project] 0ca0a3: [DebugInfo][CodeView] Reuse enum tables in type du...

David Zbarsky via All-commits all-commits at lists.llvm.org
Thu Jun 11 11:53:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ca0a369a6c51ef742c83a0a24109c2ee522f734
      https://github.com/llvm/llvm-project/commit/0ca0a369a6c51ef742c83a0a24109c2ee522f734
  Author: David Zbarsky <dzbarsky at gmail.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M llvm/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp
    M llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp

  Log Message:
  -----------
  [DebugInfo][CodeView] Reuse enum tables in type dumpers (#202757)

Reuse the process-lifetime enum tables in `EnumTables.cpp` from
`TypeDumpVisitor` and `TypeRecordMapping` instead of emitting duplicate
`EnumEntry` arrays.

On Darwin arm64 Release, `llvm-readobj` decreases from 12,046,992 to
12,030,048 bytes (-16,944 bytes), with 599 fewer fixups

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