question about clang ast for tsan

+llvm-dev mailing list

Hi Tong,

Tsan instrumentation is done by llvm pass for functions marked with
sanitize_thread attribute.
Do you see sanitize_thread attribute on generated llvm asm? If no,
then that's the problem.

What do you do with ast files? Do you pass them to clang? Do you add
-fsanitize=thread when invoking clang?