forked from OSchip/llvm-project
[ThinLTO] Fix X86/strong_non_prevailing.ll after llvm-nm 'r' change
llvm-svn: 359314
This commit is contained in:
parent
4b17772b9e
commit
5015aa854d
|
@ -12,5 +12,5 @@ $__llvm_profile_filename = comdat any
|
|||
|
||||
@__llvm_profile_filename = constant [19 x i8] c"default_%m.profraw\00", comdat
|
||||
|
||||
; EXPORTED: N __llvm_profile_filename
|
||||
; NOT_EXPORTED-NOT: N __llvm_profile_filename
|
||||
; EXPORTED: R __llvm_profile_filename
|
||||
; NOT_EXPORTED-NOT: R __llvm_profile_filename
|
||||
|
|
|
@ -928,6 +928,9 @@ static char getSymbolNMTypeChar(ELFObjectFileBase &Obj,
|
|||
// OK, this is ELF
|
||||
elf_symbol_iterator SymI(I);
|
||||
|
||||
if (SymI->getELFType() == ELF::STT_GNU_IFUNC)
|
||||
return 'i';
|
||||
|
||||
Expected<elf_section_iterator> SecIOrErr = SymI->getSection();
|
||||
if (!SecIOrErr) {
|
||||
consumeError(SecIOrErr.takeError());
|
||||
|
|
Loading…
Reference in New Issue