[Openmp-commits] [PATCH] D103767: [OpenMP] Remove TSan annotations from libomp
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sun Jun 6 11:43:31 PDT 2021
protze.joachim added a comment.
In D103767#2801322 <https://reviews.llvm.org/D103767#2801322>, @ye-luo wrote:
> "libarcher.so, which is automatically loaded if an OpenMP application is built with TSan." Is this valid with gcc + libomp combination?
Yes. The OMPT startup code in libomp assumes libarcher.so to be the last element of the OMP_TOOL_LIBARARIES var. So, as long as you don't load a different OMPT tool while executing an application built with TSan, you will have Archer loaded. To verify, you can export `ARCHER_OPTIONS=verbose=1`. If you have doubts or if loading Archer fails for you, you can export `OMP_TOOL_VERBOSE_INIT=stdout` to get detailed information about OMPT initialization including dlerror output.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103767/new/
https://reviews.llvm.org/D103767
More information about the Openmp-commits
mailing list