tsan: use Tid/StackID types in MBlock

Replace more raw types with Tid/StackID typedefs.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107335
This commit is contained in:
Dmitry Vyukov 2021-08-03 12:29:23 +02:00
parent 08128fe705
commit 559426ae76
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ class RegionAlloc;
struct MBlock {
u64 siz : 48;
u64 tag : 16;
u32 stk;
u16 tid;
StackID stk;
Tid tid;
};
COMPILER_CHECK(sizeof(MBlock) == 16);