[Openmp-commits] [PATCH] D70412: [OpenMP][Tool] Runtime warning for missing TSan-option
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 14 12:21:24 PST 2020
Hahnfeld reopened this revision.
Hahnfeld added a comment.
This revision was not accepted before being committed!
================
Comment at: openmp/tools/archer/ompt-tsan.cpp:868
+ options = getenv("TSAN_OPTIONS");
+ tsan_flags = new TsanFlags(options);
----------------
This memory is leaked, it should be `delete`d in `ompt_tsan_finalize`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70412/new/
https://reviews.llvm.org/D70412
More information about the Openmp-commits
mailing list