[Openmp-commits] [openmp] [OpenMP] Add ompt_start_tool declaration in omp-tools.h (PR #97099)
via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jul 3 03:20:02 PDT 2024
================
@@ -1408,6 +1408,12 @@ typedef ompt_record_ompt_t *(*ompt_get_record_ompt_t) (
ompt_buffer_cursor_t current
);
+#ifdef _WIN32
+__declspec(dllexport)
----------------
jprotze wrote:
I guess the reasoning for adding this is to make sure the symbol gets exported? Should we add a visibility attribute as well?
https://github.com/llvm/llvm-project/pull/97099
More information about the Openmp-commits
mailing list