aboutsummaryrefslogtreecommitdiff
path: root/openmp/runtime/src/ompt-general.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2019-01-16 09:28:01 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2019-01-16 09:28:01 +0000
commit685c76d7a3d868059020a4e21b99a34b143fc9b5 (patch)
treec2785e27cc6ce4b4bfc34c17e115c3746f1cadb2 /openmp/runtime/src/ompt-general.cpp
parenta3a25afe38b3b58ef479e384ac3f0622c3d93187 (diff)
[NewPM][TSan] Reiterate the TSan port
Summary: Second iteration of D56433 which got reverted in rL350719. The problem in the previous version was that we dropped the thunk calling the tsan init function. The new version keeps the thunk which should appease dyld, but is not actually OK wrt. the current semantics of function passes. Hence, add a helper to insert the functions only on the first time. The helper allows hooking into the insertion to be able to append them to the global ctors list. Reviewers: chandlerc, vitalybuka, fedor.sergeev, leonardchan Subscribers: hiraditya, bollu, llvm-commits Differential Revision: https://reviews.llvm.org/D56538 llvm-svn: 351314
Diffstat (limited to 'openmp/runtime/src/ompt-general.cpp')
0 files changed, 0 insertions, 0 deletions