diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2021-06-16 10:51:51 -0700 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2021-06-16 14:21:58 -0700 |
commit | 8b062b61606270950645d73b68036c9ab2c7c4bc (patch) | |
tree | 8f0489d2e0e69b78e841453daa8d7d3c2a7db980 /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | 47f18af55fd59e813144cc76711806d57a160e50 (diff) | |
download | llvm-8b062b61606270950645d73b68036c9ab2c7c4bc.zip llvm-8b062b61606270950645d73b68036c9ab2c7c4bc.tar.gz llvm-8b062b61606270950645d73b68036c9ab2c7c4bc.tar.bz2 |
[scudo] Ensure proper allocator alignment in TSD test
The `MockAllocator` used in `ScudoTSDTest` wasn't allocated
properly aligned, which resulted in the `TSDs` of the shared
registry not being aligned either. This lead to some failures
like: https://reviews.llvm.org/D103119#2822008
This changes how the `MockAllocator` is allocated, same as
Vitaly did in the combined tests, properly aligning it, which
results in the `TSDs` being aligned as well.
Add a `DCHECK` in the shared registry to check that it is.
Differential Revision: https://reviews.llvm.org/D104402
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions