PRUNERS / archer

Archer, a data race detection tool for large OpenMP applications
https://pruners.github.io/archer
Apache License 2.0
61 stars 13 forks source link

RunningOnValgrind mechanism works! Just a few fixes #66

Closed simoatze closed 6 years ago

simoatze commented 6 years ago

The return in RunningOnValgrind is necessary or we get 'illegal instruction' error.

I tried and it seems to work well.

Compiling with clang-archer finds the race as usual. If you compile with clang and link against libarcher but without -fsanitize=thread the ompt_start_tool returns immediately and does not register any callbacks.