diff options
author | Vitaly Buka <vitalybuka@google.com> | 2020-09-06 00:07:14 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2020-09-06 00:14:33 -0700 |
commit | b11db3606ca180521f8400aed730281108b350b4 (patch) | |
tree | 5e6ac97f25867949cf8a2132ad5232b3d4b99dca /llvm/lib/Support/SmallVector.cpp | |
parent | b2e27a86c18e13043be0ed7bf2855d313cc0ac38 (diff) | |
download | llvm-b11db3606ca180521f8400aed730281108b350b4.zip llvm-b11db3606ca180521f8400aed730281108b350b4.tar.gz llvm-b11db3606ca180521f8400aed730281108b350b4.tar.bz2 |
[Asan] Cleanup atomic usage in allocator
There are no know bugs related to this, still it may fix some latent ones.
Main concerns with preexisting code:
1. Inconsistent atomic/non-atomic access to the same field.
2. Assumption that bitfield chunk_state is always the first byte without
even taking into account endianness.
Reviewed By: morehouse
Differential Revision: https://reviews.llvm.org/D86917
Diffstat (limited to 'llvm/lib/Support/SmallVector.cpp')
0 files changed, 0 insertions, 0 deletions