[OpenMP] Add default stub for virtual methods (#174594)
Summary:
Recent OpenMP patches have added real support for virtual functions on
the device side. However, we don't provide some of the C++ ABI functions
that are emitted when using these. In practice these functions just call
`std::terminate` so we can just trap here. These are marked weak so they
will be overridden by a more correct implementation if not defined and
will also not extract on their own from a static library.
GitOrigin-RevId: 0753286b8e27f995d25b33a4cbd8d07ca0346aa7
1 file changed