[all-commits] [llvm/llvm-project] 6f3bd3: [Libomptarget] Add a utility function for checking...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Dec 6 05:41:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f3bd3a2f609ca2fdb8f2c0f4122b906824ef70f
      https://github.com/llvm/llvm-project/commit/6f3bd3a2f609ca2fdb8f2c0f4122b906824ef70f
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
    M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
    M openmp/libomptarget/plugins-nextgen/common/src/RPC.cpp
    M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp

  Log Message:
  -----------
  [Libomptarget] Add a utility function for checking existence of symbols (#74550)

Summary:
There are now a few cases that check if a symbol is present before
continuing, effectively making them optional features if present in the
image. This was done in at least three locations and required an ugly
operation to consume the error. This patch makes a utility function to
handle that instead.




More information about the All-commits mailing list