forked from OSchip/llvm-project
[llvm-nm] Support section type 'u': STB_GNU_UNIQUE
llvm-svn: 359380
This commit is contained in:
parent
3879b2cd45
commit
0969af6962
|
@ -934,6 +934,10 @@ static char getSymbolNMTypeChar(ELFObjectFileBase &Obj,
|
|||
return '?';
|
||||
}
|
||||
|
||||
uint8_t Binding = SymI->getOther() >> 4;
|
||||
if (Binding == ELF::STB_GNU_UNIQUE)
|
||||
return 'u';
|
||||
|
||||
elf_section_iterator SecI = *SecIOrErr;
|
||||
if (SecI != Obj.section_end()) {
|
||||
uint32_t Type = SecI->getType();
|
||||
|
|
Loading…
Reference in New Issue