diff options
author | Mingming Liu <mingmingl@google.com> | 2024-05-18 19:39:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-18 19:39:57 -0700 |
commit | d34be649af1aa849c21a5a0570617c3a89d5f0b8 (patch) | |
tree | 7965a47de94ad0e838f2e3ab4b7183b943dfc9f6 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 597ac471cc7da97ccf957362a7e9f7a52d6910ee (diff) | |
download | llvm-d34be649af1aa849c21a5a0570617c3a89d5f0b8.zip llvm-d34be649af1aa849c21a5a0570617c3a89d5f0b8.tar.gz llvm-d34be649af1aa849c21a5a0570617c3a89d5f0b8.tar.bz2 |
[ThinLTO]Sort imported GUIDs before cache key update (#92622)
Add 'sort' here since it's helpful when container type
changes (for example, https://github.com/llvm/llvm-project/pull/88024
wants to change container type from `unordered_set` to `DenseMap)
@MaskRay points out `std::` doesn't randomize the iteration order of
`unordered_{set,map}`, and the iteration order for single build is
deterministic.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions