[PATCH] D14434: tsan: make invisible test barrier portable

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 03:45:44 PST 2015


kubabrecka added a comment.

> Does changing 'int Global;' to 'long long Global;' fix it?


Yes, this fixes it.

> Or better change `typedef unsigned invisible_barrier_t;` to: `typedef unsigned long long invisible_barrier_t;`


This works as well.

What's going on here, can you explain it to me?


http://reviews.llvm.org/D14434





More information about the llvm-commits mailing list