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(
401401 const Elf_Shdr &Sec = ObjSections[I];
402402
403403 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));
407406
408407 // SHF_EXCLUDE'ed sections are discarded by the linker. However,
409408 // if -r is given, we'll let the final link discard such sections.
@@ -453,7 +452,6 @@ void ObjFile<ELFT>::initializeSections(
453452 continue ;
454453 }
455454
456-
457455 // Otherwise, discard group members.
458456 for (uint32_t SecIndex : Entries.slice (1 )) {
459457 if (SecIndex >= Size)
You can’t perform that action at this time.
0 commit comments