mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-19 14:44:39 +00:00
[ELF] - Update after LLVM change (r285886)
llvm-svn: 285888
This commit is contained in:
parent
02334f6cdc
commit
4d2aad9da6
@ -208,7 +208,7 @@ elf::ObjectFile<ELFT>::getShtGroupSignature(ArrayRef<Elf_Shdr> Sections,
|
|||||||
const ELFFile<ELFT> &Obj = this->ELFObj;
|
const ELFFile<ELFT> &Obj = this->ELFObj;
|
||||||
const Elf_Shdr *Symtab =
|
const Elf_Shdr *Symtab =
|
||||||
check(object::getSection<ELFT>(Sections, Sec.sh_link));
|
check(object::getSection<ELFT>(Sections, Sec.sh_link));
|
||||||
const Elf_Sym *Sym = Obj.getSymbol(Symtab, Sec.sh_info);
|
const Elf_Sym *Sym = check(Obj.getSymbol(Symtab, Sec.sh_info));
|
||||||
StringRef Strtab = check(Obj.getStringTableForSymtab(*Symtab));
|
StringRef Strtab = check(Obj.getStringTableForSymtab(*Symtab));
|
||||||
return check(Sym->getName(Strtab));
|
return check(Sym->getName(Strtab));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user