[Openmp-commits] [PATCH] D140591: [OpenMP] Solve potential VERSION script error w/ OMPT symbols

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 22 15:41:15 PST 2022


jhuber6 added a comment.

I don't think you can assign functions to zero, since these are functions we should probably just make them empty or return `nullptr` just in case someone actually calls it. Also these will need to be `extern "C"` since we're in a C++ file. Also, go ahead and put it at the bottom of the file since these have zero utility it shouldn't be the first thing the user sees.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140591/new/

https://reviews.llvm.org/D140591



More information about the Openmp-commits mailing list