[all-commits] [llvm/llvm-project] 9a3616: [C++20][Modules] Fix non-determinism in serialized...
Dmitry Polukhin via All-commits
all-commits at lists.llvm.org
Thu Sep 26 23:34:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a361684c80a779c28d8315503a423e05f0cc061
https://github.com/llvm/llvm-project/commit/9a361684c80a779c28d8315503a423e05f0cc061
Author: Dmitry Polukhin <34227995+dmpolukhin at users.noreply.github.com>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
M clang/include/clang/AST/DeclID.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
Log Message:
-----------
[C++20][Modules] Fix non-determinism in serialized AST (#110131)
Summary:
https://github.com/llvm/llvm-project/pull/109167 serializes
FunctionToLambdasMap in the order of pointers in DenseMap. It gives
different order with different memory layouts. Fix this issue by using
LocalDeclID instead of pointers.
Test Plan: check-clang
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