[all-commits] [llvm/llvm-project] 664497: [CodeGen] Use MapVector to stabilize iteration order

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jun 28 15:11:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 664497557ae7e726b424d325533cdce8104b3337
      https://github.com/llvm/llvm-project/commit/664497557ae7e726b424d325533cdce8104b3337
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/test/CodeGenCXX/attr-annotate.cpp

  Log Message:
  -----------
  [CodeGen] Use MapVector to stabilize iteration order

Otherwise clang/test/CodeGenCXX/attr-annotate.cpp
output could fail when llvm::hash_value(StringRef) changes
(#96282).

EmitGlobalAnnotations iterates over DeferredAnnotations.



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