[llvm] [Object][GOFF] Support RLD records (PR #216780)

Sean Fertile via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 10:14:37 PDT 2026


================
@@ -323,7 +328,8 @@ GOFFObjectFile::GOFFObjectFile(MemoryBufferRef Object, Error &Err)
       LLVM_DEBUG(dbgs() << "  --  TXT\n");
       break;
     case GOFF::RT_RLD:
-      LLVM_DEBUG(dbgs() << "  --  RLD (GOFF record type) unhandled\n");
+      setRelocationData(I);
----------------
mandlebug wrote:

To keep the style consistent with how we handle the other records should we have this function return a `RelEntry` which we emplace into the relocation vector here?

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


More information about the llvm-commits mailing list