aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-04-28 09:19:37 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-04-30 15:58:05 +0200
commit92a3a2dc3eb69ff4f20ec27f68d9923cf3201bf3 (patch)
tree13c1ddf1c8d55321a8273b9d2f89f28b0622c16e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent4978bf65adbcd1674cec33c49d646d55694b03ef (diff)
downloadllvm-92a3a2dc3eb69ff4f20ec27f68d9923cf3201bf3.zip
llvm-92a3a2dc3eb69ff4f20ec27f68d9923cf3201bf3.tar.gz
llvm-92a3a2dc3eb69ff4f20ec27f68d9923cf3201bf3.tar.bz2
sanitizer_common: introduce kInvalidTid/kMainTid
Currently we have a bit of a mess related to tids: - sanitizers re-declare kInvalidTid multiple times - some call it kUnknownTid - implicit assumptions that main tid is 0 - asan/memprof claim their tids need to fit into 24 bits, but this does not seem to be true anymore - inconsistent use of u32/int to store tids Introduce kInvalidTid/kMainTid in sanitizer_common and use them consistently. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D101428
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions