[lld] [ELF] Support relocatable files using CREL (PR #98115)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 08:48:07 PDT 2024


================
@@ -85,6 +85,12 @@ static uint64_t getAddend(InputSectionBase &sec,
   return rel.r_addend;
 }
 
+template <class ELFT>
----------------
smithp35 wrote:

Can we add a comment that we assume all input Crel relocations will have an explicit addend?

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


More information about the llvm-commits mailing list