File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -401,9 +401,8 @@ void ObjFile<ELFT>::initializeSections(
401
401
const Elf_Shdr &Sec = ObjSections[I];
402
402
403
403
if (Sec.sh_type == ELF::SHT_LLVM_CALL_GRAPH_PROFILE)
404
- CGProfile = check (
405
- this ->getObj ().template getSectionContentsAsArray <Elf_CGProfile>(
406
- &Sec));
404
+ CGProfile =
405
+ check (Obj.template getSectionContentsAsArray <Elf_CGProfile>(&Sec));
407
406
408
407
// SHF_EXCLUDE'ed sections are discarded by the linker. However,
409
408
// 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
453
}
455
454
456
-
457
455
// Otherwise, discard group members.
458
456
for (uint32_t SecIndex : Entries.slice (1 )) {
459
457
if (SecIndex >= Size)
You can’t perform that action at this time.
0 commit comments