[Openmp-commits] [openmp] 20459dd - [openmp] Clarify error message if TSan is missing (#70916)
via Openmp-commits
openmp-commits at lists.llvm.org
Wed Mar 6 02:41:59 PST 2024
Author: Jonathan Schilling
Date: 2024-03-06T16:11:56+05:30
New Revision: 20459ddc82514249501c3517583c4ec8dd23cecd
URL: https://github.com/llvm/llvm-project/commit/20459ddc82514249501c3517583c4ec8dd23cecd
DIFF: https://github.com/llvm/llvm-project/commit/20459ddc82514249501c3517583c4ec8dd23cecd.diff
LOG: [openmp] Clarify error message if TSan is missing (#70916)
For an uninformed user, the error message might refer to a missing "TSan
stopping operation", rather than indicating that TSan is missing **and
therefore** operation is stopped.
Added:
Modified:
openmp/tools/archer/ompt-tsan.cpp
Removed:
################################################################################
diff --git a/openmp/tools/archer/ompt-tsan.cpp b/openmp/tools/archer/ompt-tsan.cpp
index 8b338f6b18b6e7..de77e25db2d399 100644
--- a/openmp/tools/archer/ompt-tsan.cpp
+++ b/openmp/tools/archer/ompt-tsan.cpp
@@ -1248,7 +1248,7 @@ ompt_start_tool(unsigned int omp_version, const char *runtime_version) {
// tool the chance to be loaded
{
if (archer_flags->verbose)
- std::cout << "Archer detected OpenMP application without TSan "
+ std::cout << "Archer detected OpenMP application without TSan; "
"stopping operation"
<< std::endl;
delete archer_flags;
More information about the Openmp-commits
mailing list