[OpenMP][libarcher] Allow all possible argument separators in TSAN_OPTIONS
authorJoachim Protze <protze@itc.rwth-aachen.de>
Wed, 30 Sep 2020 23:01:09 +0000 (01:01 +0200)
committerJoachim Protze <protze@itc.rwth-aachen.de>
Wed, 30 Sep 2020 23:10:13 +0000 (01:10 +0200)
commit23419bfd1c8f26617bda47e6d4732dcbfe0c09a3
treea15db66dd9a3d63ec0d23f0b528d3176f648ed97
parentb23916504a1a9f29c7519ed83813774eecce1789
[OpenMP][libarcher] Allow all possible argument separators in TSAN_OPTIONS

Currently, the parser used to tokenize the TSAN_OPTIONS in libomp uses
only spaces as separators, even though TSAN in compiler-rt supports
other separators like ':' or ','.
CTest uses ':' to separate sanitizer options by default.
The documentation for other sanitizers mentions ':' as separator,
but TSAN only lists spaces, which is probably where this mismatch originated.

Patch provided by  upsj

Differential Revision: https://reviews.llvm.org/D87144
openmp/tools/archer/ompt-tsan.cpp
openmp/tools/archer/tests/lit.cfg
openmp/tools/archer/tests/parallel/parallel-nosuppression.c [new file with mode: 0644]
openmp/tools/archer/tests/parallel/parallel-simple.c