Bug ID: 36574
Summary: OMPT runtime msvc support
OS: Windows NT
Component: Runtime Library
The OMPT part of the OpenMP runtime does have a PSAPI based implementation for
Windows but does not currently support msvc as a compiler.
I attached a patch which gets it to compile and link, but is only for
Some parts of it like removing the non-standard VLA and the ompt-specific.h
change may be of general interest.
The OMPT_GET_*_ADDRESS hacks were just for testing.
These macros are only called with values of 0 or 1 (though the documentation at
__builtin_frame_address warns that "calling this function with a nonzero
argument can have unpredictable effects, including crashing the calling
The zero case may work with the given msvc intrinsics (not tested) but the
other one is not so easy to solve, may require assembly.
You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list