[all-commits] [llvm/llvm-project] 1532ee: [Offload] Add Error Codes to PluginInterface (#13...
Ross Brunton via All-commits
all-commits at lists.llvm.org
Mon May 19 07:38:56 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1532ee6916ef16627bafddced391c0b5a31390fe
https://github.com/llvm/llvm-project/commit/1532ee6916ef16627bafddced391c0b5a31390fe
Author: Ross Brunton <ross at codeplay.com>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
A offload/include/Shared/OffloadErrcodes.inc
A offload/include/Shared/OffloadError.h
M offload/liboffload/API/CMakeLists.txt
M offload/liboffload/API/Common.td
M offload/liboffload/include/OffloadImpl.hpp
M offload/liboffload/include/generated/OffloadAPI.h
M offload/liboffload/include/generated/OffloadPrint.hpp
M offload/plugins-nextgen/common/CMakeLists.txt
M offload/plugins-nextgen/common/include/PluginInterface.h
A offload/plugins-nextgen/common/src/OffloadError.cpp
M offload/tools/offload-tblgen/CMakeLists.txt
R offload/tools/offload-tblgen/FuncsGen.cpp
M offload/tools/offload-tblgen/Generators.hpp
A offload/tools/offload-tblgen/MiscGen.cpp
M offload/tools/offload-tblgen/offload-tblgen.cpp
Log Message:
-----------
[Offload] Add Error Codes to PluginInterface (#138258)
A new ErrorCode enumeration is present in PluginInterface which can
be used when returning an llvm::Error from offload and PluginInterface
functions.
This enum must be kept up to sync with liboffload's ol_errc_t enum, so
both are automatically generated from liboffload's enum definition.
Some error codes have also been shuffled around to allow for future
work. Note that this patch only adds the machinery; actual error codes
will be added in a future patch.
~~Depends on #137339 , please ignore first commit of this MR.~~ This has
been merged.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list