[compiler-rt] f19f672 - [TSan][NFC] fixup for comment of Shadow
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 23 11:24:33 PST 2022
Author: Xu Mingjie
Date: 2022-02-23T11:24:24-08:00
New Revision: f19f67232891b4325302e27dd40c28d14faf159e
URL: https://github.com/llvm/llvm-project/commit/f19f67232891b4325302e27dd40c28d14faf159e
DIFF: https://github.com/llvm/llvm-project/commit/f19f67232891b4325302e27dd40c28d14faf159e.diff
LOG: [TSan][NFC] fixup for comment of Shadow
There should be 1-bit unused field between tid field and is_atomic field of Shadow.
Reviewed By: dvyukov, vitalybuka
Differential Revision: https://reviews.llvm.org/D119417
Added:
Modified:
compiler-rt/lib/tsan/rtl-old/tsan_shadow.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/tsan/rtl-old/tsan_shadow.h b/compiler-rt/lib/tsan/rtl-old/tsan_shadow.h
index 8b7bc341713e8..566584fd3203a 100644
--- a/compiler-rt/lib/tsan/rtl-old/tsan_shadow.h
+++ b/compiler-rt/lib/tsan/rtl-old/tsan_shadow.h
@@ -94,6 +94,7 @@ class FastState {
// Shadow (from most significant bit):
// freed : 1
// tid : kTidBits
+// unused : 1
// is_atomic : 1
// is_read : 1
// size_log : 2
More information about the llvm-commits
mailing list