This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][OMPT] Fix compile-time assertion in multiplex.h
ClosedPublic

Authored by protze.joachim on Jun 21 2021, 3:53 AM.

Details

Summary

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

Diff Detail

Event Timeline

protze.joachim created this revision.Jun 21 2021, 3:53 AM
protze.joachim requested review of this revision.Jun 21 2021, 3:53 AM
protze.joachim edited the summary of this revision. (Show Details)Jun 21 2021, 3:55 AM
This revision is now accepted and ready to land.Jun 22 2021, 1:22 PM
This revision was landed with ongoing or failed builds.Jul 12 2021, 3:13 AM
This revision was automatically updated to reflect the committed changes.