1## Test that the symbol type of STT_GNU_IFUNC is 'i'. 2 3# RUN: yaml2obj %s -o %t 4# RUN: llvm-nm --no-sort %t | FileCheck %s 5 6# CHECK: i ifunc_local 7# CHECK-NEXT: i ifunc_global 8 9!ELF 10FileHeader: 11 Class: ELFCLASS64 12 Data: ELFDATA2LSB 13 Type: ET_REL 14 Machine: EM_X86_64 15Sections: 16 - Name: .text 17 Type: SHT_PROGBITS 18 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 19Symbols: 20 - Name: ifunc_local 21 Type: STT_GNU_IFUNC 22 Binding: STB_LOCAL 23 Section: .text 24 - Name: ifunc_global 25 Type: STT_GNU_IFUNC 26 Binding: STB_GLOBAL 27 Section: .text 28