We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34bcbf commit e14e46bCopy full SHA for e14e46b
lld/ELF/InputFiles.cpp
@@ -401,9 +401,8 @@ void ObjFile<ELFT>::initializeSections(
401
const Elf_Shdr &Sec = ObjSections[I];
402
403
if (Sec.sh_type == ELF::SHT_LLVM_CALL_GRAPH_PROFILE)
404
- CGProfile = check(
405
- this->getObj().template getSectionContentsAsArray<Elf_CGProfile>(
406
- &Sec));
+ CGProfile =
+ check(Obj.template getSectionContentsAsArray<Elf_CGProfile>(&Sec));
407
408
// SHF_EXCLUDE'ed sections are discarded by the linker. However,
409
// if -r is given, we'll let the final link discard such sections.
@@ -453,7 +452,6 @@ void ObjFile<ELFT>::initializeSections(
453
452
continue;
454
}
455
456
-
457
// Otherwise, discard group members.
458
for (uint32_t SecIndex : Entries.slice(1)) {
459
if (SecIndex >= Size)
0 commit comments