[all-commits] [llvm/llvm-project] fedbff: [OpenMP][OMPT] Fix compile-time assertion in ompt-...

Joachim via All-commits all-commits at lists.llvm.org
Mon Jul 12 03:13:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fedbff75f46b4b9e055ab4947960fa95a08a78ed
      https://github.com/llvm/llvm-project/commit/fedbff75f46b4b9e055ab4947960fa95a08a78ed
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M openmp/tools/multiplex/ompt-multiplex.h

  Log Message:
  -----------
  [OpenMP][OMPT] Fix compile-time assertion in ompt-multiplex.h

The compile-time assertion is supposed to prevent double-free caused by
unexpected combination of preprocessor defines passed by an OMPT tool.
The current defines are not used, so this patch replaces the check with
macros actually used in ompt-multiplex.h

Reported by: Semih Burak

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




More information about the All-commits mailing list