================
@@ -1861,7 +1886,15 @@ template <class ELFT> Error
ELFBuilder<ELFT>::readSections(bool EnsureSymtab) {
const typename ELFFile<ELFT>::Elf_Shdr *Shdr =
Sections->begin() + RelSec->Index;
- if (RelSec->Type == SHT_REL) {
+ if (RelSec->Type == SHT_CREL) {
+ auto Rels = ElfFile.crels(*Shdr);
----------------
smithp35 wrote:
Would `RelsOrRelas` be a better name as it will make the meaning of first and
second more obvious at the point of use?
https://github.com/llvm/llvm-project/pull/97521
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits