diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2021-08-04 18:55:00 +0200 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2021-08-05 13:37:10 +0200 |
commit | a82c7476a76a8305905a6423d337ea5bbd66c837 (patch) | |
tree | dbc516862d1b5059ca6649f1d6e66dc01a293156 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | c7a4ede3511692a58627a9eedb8518dcef6c9a97 (diff) | |
download | llvm-a82c7476a76a8305905a6423d337ea5bbd66c837.zip llvm-a82c7476a76a8305905a6423d337ea5bbd66c837.tar.gz llvm-a82c7476a76a8305905a6423d337ea5bbd66c837.tar.bz2 |
tsan: introduce RawShadow type
Currently we hardcode u64 type for shadow everywhere
and do lots of uptr<->u64* casts. It makes it hard to
change u64 to another type (e.g. u32) and makes it easy
to introduce bugs.
Introduce RawShadow type and use it in MemToShadow, ShadowToMem,
IsShadowMem and throughout the code base as u64 replacement.
This makes it possible to change u64 to something else in future
and generally improves static typing.
Depends on D107481.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D107482
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions