aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-08-04 18:55:00 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-08-05 13:37:10 +0200
commita82c7476a76a8305905a6423d337ea5bbd66c837 (patch)
treedbc516862d1b5059ca6649f1d6e66dc01a293156 /flang/lib/Frontend/CompilerInvocation.cpp
parentc7a4ede3511692a58627a9eedb8518dcef6c9a97 (diff)
downloadllvm-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