[Openmp-commits] [openmp] [OpenMP] Add ompt_start_tool declaration in omp-tools.h (PR #97099)

Hansang Bae via Openmp-commits openmp-commits at lists.llvm.org
Wed Jul 3 08:49:31 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)
----------------
hansangbae wrote:

I am not so sure if there is anything we can do more on Windows other than `dllexport`.
We may be able to add `__attribute__((visibility("default")))` for non-Windows systems though.

https://github.com/llvm/llvm-project/pull/97099


More information about the Openmp-commits mailing list