New tsan runtime will need to compress addresses/PCs to fewer bits.
Add CompressAddr/RestoreAddr functions that compress/restore
addresses to 44 bits.
Depends on D107744.
Differential D107745
tsan: add notion of compressed addresses dvyukov on Aug 9 2021, 12:53 AM. Authored by
Details
New tsan runtime will need to compress addresses/PCs to fewer bits. Depends on D107744.
Diff Detail
Event Timeline
|
Just an idea: does it in any way make sense to make the compressed addr a stronger type, i.e.:
Might make misuse harder.
I may have not paid attention how you pass around the compressed addr, so if that's infeasible, that's fine.