diff options
author | Balazs Benics <benicsbalazs@gmail.com> | 2024-11-12 18:56:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 18:56:02 +0100 |
commit | ae7392bf5c5d4c34c901ba4f472282206e68bf7b (patch) | |
tree | adccf812e72a5e4902aaf838d44f9852906dad8e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 57c33acac8c74eb071ede35d819918d8bd00e45b (diff) | |
download | llvm-ae7392bf5c5d4c34c901ba4f472282206e68bf7b.zip llvm-ae7392bf5c5d4c34c901ba4f472282206e68bf7b.tar.gz llvm-ae7392bf5c5d4c34c901ba4f472282206e68bf7b.tar.bz2 |
Reapply "[analyzer][NFC] Make RegionStore dumps deterministic" (#115884)
This is reapplies #115615 without using tuples. The eager call of
`getRegion()` and `getOffset()` could cause crashes when the Store had
symbolic bindings.
Here I'm fixing the crash by lazily calling those getters.
Also, the tuple version poorly sorted the Clusters. The memory spaces
should have come before the regular clusters.
Now, that is also fixed here, demonstrated by the test.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions