[clang] [llvm] [MC,llvm-readobj,yaml2obj] Support CREL relocation format (PR #91280)

Peter Smith via cfe-commits cfe-commits at lists.llvm.org
Thu May 9 06:51:15 PDT 2024


================
@@ -446,6 +450,7 @@ template <class ELFT> class ELFObjectFile : public ELFObjectFileBase {
 
   const Elf_Rel *getRel(DataRefImpl Rel) const;
   const Elf_Rela *getRela(DataRefImpl Rela) const;
+  Elf_Crel getCrel(DataRefImpl Rel) const;
----------------
smithp35 wrote:

Perhaps use CRel as the parameter name. Rel could give the idea that this is a Rel type relocation with no addend.

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


More information about the cfe-commits mailing list