Does Tsan instrument inline assembly?

81 Views Asked by At

I have some code in my project in inline assembly, does TSAN instrument it? let's look at this example:

T0: x++

T1: (inline assembly code) MOV x, 2;

will we get data race here(assuming no sync at all)? if so, does it instrument all assembly memory access such as XADD, etc?

0

There are 0 best solutions below