This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][Tool] Make tests for archer dependent on TSan
ClosedPublic

Authored by protze.joachim on Dec 26 2019, 1:36 PM.

Details

Summary

If the openmp project is built standalone, the test compiler is feature tested for an available -fsanitize=thread flag.
If the openmp project is built as part of llvm, the target tsan is needed to test archer.

An additional line (requires tsan) was introduced to the tests, this patch updates the line numbers for the race.

Diff Detail

Event Timeline

protze.joachim created this revision.Dec 26 2019, 1:36 PM

This patch re-enables the testing of Archer for all builds where TSan is available.
I'd prefer to have this patch in the release for testing :)

This revision is now accepted and ready to land.Jan 11 2020, 12:00 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2020, 11:48 PM