[all-commits] [llvm/llvm-project] 625cf4: [Clang] Produce deterministic hash for anonymous n...

Vladimir Vereschaka via All-commits all-commits at lists.llvm.org
Wed May 6 13:57:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 625cf4026ffb45db3a53406cd1b1ec5172ff2bf3
      https://github.com/llvm/llvm-project/commit/625cf4026ffb45db3a53406cd1b1ec5172ff2bf3
  Author: Vladimir Vereschaka <vvereschaka at accesssoftek.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/MicrosoftMangle.cpp
    A clang/test/AST/anon-ns-determ-hash.cpp

  Log Message:
  -----------
  [Clang] Produce deterministic hash for anonymous namespaces. (#194542)

This change adds a path substitution for the main module file during
anonymous namespace hash generation using the prefix map specified by
-fmacro-prefix-map option. That ensures deterministic symbol mangling
for reproducible builds.

---------

Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>



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