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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 11:00:47 PDT 2024


================
@@ -84,6 +84,7 @@ class InputFile {
     assert(fileKind == ObjKind || fileKind == BinaryKind);
     return sections;
   }
+  void setSection(size_t i, InputSectionBase *s) { sections[i] = s; }
----------------
MaskRay wrote:

Thanks for the suggestion. Adopted

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


More information about the llvm-commits mailing list