[all-commits] [llvm/llvm-project] 7fbf12: [OpenMP][Archer] Use dlsym rather than weak symbol...

Joachim via All-commits all-commits at lists.llvm.org
Tue Jan 24 06:15:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fbf12210007a66f7b62beadc0e5a52561cc0ab3
      https://github.com/llvm/llvm-project/commit/7fbf12210007a66f7b62beadc0e5a52561cc0ab3
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M openmp/tools/archer/ompt-tsan.cpp

  Log Message:
  -----------
  [OpenMP][Archer] Use dlsym rather than weak symbols for TSan annotations

This patch fix issues reported for Ubuntu and possibly other platforms:
https://github.com/llvm/llvm-project/issues/45290

The latest comment on this issue points out that using dlsym rather than
the weak symbol approach to call TSan annotation functions fixes the issue
for Ubuntu.

Differential Revision: https://reviews.llvm.org/D142378




More information about the All-commits mailing list