diff options
author | Dmitry Polukhin <34227995+dmpolukhin@users.noreply.github.com> | 2024-09-27 07:33:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 07:33:59 +0100 |
commit | 9a361684c80a779c28d8315503a423e05f0cc061 (patch) | |
tree | f07f25fe0d745777b28c290c6724bab9600468f5 /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | 91b565bd7f98a695535ccea153895e002411e3de (diff) | |
download | llvm-9a361684c80a779c28d8315503a423e05f0cc061.zip llvm-9a361684c80a779c28d8315503a423e05f0cc061.tar.gz llvm-9a361684c80a779c28d8315503a423e05f0cc061.tar.bz2 |
[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
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions