aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorPaul Floyd <pjfloyd@wanadoo.fr>2025-02-25 23:35:32 +0100
committerGitHub <noreply@github.com>2025-02-25 23:35:32 +0100
commit789bfdc3e60cad3b8aa6798ed06d24ad62a4bc1d (patch)
treee917fec643c3f44279712e1b7fdefb2c57e3c086 /llvm/lib/CodeGen/MachineInstr.cpp
parent65cf534139ab884d6886810b647dc50e3affaa19 (diff)
downloadllvm-789bfdc3e60cad3b8aa6798ed06d24ad62a4bc1d.zip
llvm-789bfdc3e60cad3b8aa6798ed06d24ad62a4bc1d.tar.gz
llvm-789bfdc3e60cad3b8aa6798ed06d24ad62a4bc1d.tar.bz2
[OMPT] Use __tsan_init to detect TSan binaries rather than RunningOnValgrind (#128357)
Switch to using __tsan_init rather than RunningOnValgrind as the means for detecting TSan instumented binaries. RunningOnValgrind is present in other libraries (such as Google perftools tcmalloc). An exe that links with a tcmalloc static library and exports symbols with -rdynamic will appear to be TSan instrumented even when it is not resulting in "Unable to fint TSan function ..." messages. Fixes issue #122319.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions