[lld] [ELF] Support relocatable files using CREL (PR #98115)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 09:02:54 PDT 2024
================
@@ -37,11 +37,24 @@ LLVM_LIBRARY_VISIBILITY extern std::vector<Partition> partitions;
// Returned by InputSectionBase::relsOrRelas. At least one member is empty.
template <class ELFT> struct RelsOrRelas {
- ArrayRef<typename ELFT::Rel> rels;
- ArrayRef<typename ELFT::Rela> relas;
+ Relocs<typename ELFT::Rel> rels;
----------------
smithp35 wrote:
Is the comment above now stale? I'd expect only one member to be non-empty now.
https://github.com/llvm/llvm-project/pull/98115
More information about the llvm-commits
mailing list