reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
# RUN: yaml2obj %s -o %t.o
# RUN: llvm-readobj -a --elf-cg-profile --addrsig %t.o | FileCheck %s

# Test that multiple sections with the same type does not trigger an error.

# CHECK: ElfHeader {
# CHECK: VersionDefinitions [
# CHECK: VersionRequirements [
# CHECK: CGProfile [
# CHECK: Addrsig [

--- !ELF
FileHeader:      
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64
Sections:        
  - Name:            .symtab2
    Type:            SHT_SYMTAB
    Link:            .strtab
    Content:         ''
    EntSize:         24
  - Name:            .versym
    Type:            SHT_GNU_versym
    Entries:         [ ]
  - Name:            .versym2
    Type:            SHT_GNU_versym
    Entries:         [ ]
  - Name:            .verdef
    Type:            SHT_GNU_verdef
    Info:            0x0000000000000000
    Entries:
  - Name:            .verdef2
    Type:            SHT_GNU_verdef
    Info:            0x0000000000000000
    Entries:
  - Name:            .verneed
    Type:            SHT_GNU_verneed
    Info:            0x0000000000000000
    Dependencies:
  - Name:            .verneed2
    Type:            SHT_GNU_verneed
    Info:            0x0000000000000000
    Dependencies:
  - Name:            .llvm.call-graph-profile
    Type:            SHT_LLVM_CALL_GRAPH_PROFILE
    Content:         ''
    EntSize:         16
  - Name:            .llvm.call-graph-profile2
    Type:            SHT_LLVM_CALL_GRAPH_PROFILE
    Content:         ''
    EntSize:         16
  - Name:            .llvm_addrsig
    Type:            SHT_LLVM_ADDRSIG
    Content:         ''
  - Name:            .llvm_addrsig2
    Type:            SHT_LLVM_ADDRSIG
    Content:         ''
Symbols:         
  - Name:            f
...