[llvm] [Offload] Use llvm::Error throughout liboffload internals (PR #140879)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 05:52:30 PDT 2025


================
@@ -184,6 +184,13 @@ class ReturnRec {
 public:
   ReturnRec(const Record *rec) : rec(rec) {}
   StringRef getValue() const { return rec->getValueAsString("value"); }
+  // Strip the "OL_ERRC_" from the value, resulting in just "FOO" from
+  // "OL_ERRC_FOO"
+  StringRef getEtorValue() const {
----------------
jhuber6 wrote:

What is an `etor`?

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


More information about the llvm-commits mailing list