[all-commits] [llvm/llvm-project] e20396: [Libomptarget] Do not abort on failed plugin init ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Jan 10 09:42:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e203968e411bba6395133d93881eb32e7895e50b
      https://github.com/llvm/llvm-project/commit/e203968e411bba6395133d93881eb32e7895e50b
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp

  Log Message:
  -----------
  [Libomptarget] Do not abort on failed plugin init (#77623)

Summary:
The current code logic is supposed to skip plugins that aren't found or
could not be loaded. However, the plugic ontained a call to `abort` if
it failed, which prevented us from continuing if initilalization the
plugin failed (such as if `dlopen` failed for the dyanmic plugins).




More information about the All-commits mailing list