[all-commits] [llvm/llvm-project] 1a4e43: [NFC][clang][Serialization] Batch serialized LangO...

David Zbarsky via All-commits all-commits at lists.llvm.org
Wed Jun 10 22:19:08 PDT 2026


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

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  [NFC][clang][Serialization] Batch serialized LangOptions values (#202844)

Collect fixed language-option and sanitizer values in a `uint64_t` local
array and append the array to the control-block record once. Generated
values retain their serialized order.

Linked `clang` and `clangd` shrink by 91,584 and 91,520 bytes
respectively; `ASTWriter.cpp.o` shrinks by 25,128 bytes with 396 fewer
relocations, while linked fixups are unchanged.

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