[Openmp-commits] [openmp] [Libomptarget] Minimize use of 'REPORT' in the plugin interface (PR #78182)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Mon Jan 15 15:41:36 PST 2024


shiltian wrote:

> A runtime rolling over and dying when something goes wrong is generally unacceptable, but currently most of these will still die at the plugin boundary.

I agree. I think generally in debug build we want to abort immediately to make it easy to pinpoint where things start to go south. In release build we can just report the error and return failure, etc., and eventually `libomptarget` will crash due to error.

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


More information about the Openmp-commits mailing list