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
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
# RUN: yaml2obj %s > %t
# RUN: lldb-test object-file %t | FileCheck %s

# CHECK-LABEL: Name: .text
# CHECK-NEXT: Type: code

# CHECK-LABEL: Name: .debug_info
# CHECK-NEXT: Type: dwarf-info

# CHECK-LABEL: Name: .debug_types
# CHECK-NEXT: Type: dwarf-types

# CHECK-LABEL: Name: .debug_types.dwo
# CHECK-NEXT: Type: dwarf-types-dwo

# CHECK-LABEL: Name: .debug_names
# CHECK-NEXT: Type: dwarf-names

# CHECK-LABEL: Name: .gnu_debugaltlink
# CHECK-NEXT: Type: dwarf-gnu-debugaltlink

# CHECK-LABEL: Name: __codesection
# CHECK-NEXT: Type: code

# CHECK-LABEL: Name: .data
# CHECK-NEXT: Type: data
# CHECK: Thread specific: no

# CHECK-LABEL: Name: .tdata
# CHECK-NEXT: Type: data
# CHECK: Thread specific: yes

# CHECK-LABEL: Name: .tbss
# CHECK-NEXT: Type: zero-fill
# CHECK: Thread specific: yes

--- !ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64
  Entry:           0x00000000000007A0
Sections:
  - Name:            .text
    Type:            SHT_PROGBITS
    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
    Content:         DEADBEEFBAADF00D
  - Name:            .debug_info
    Type:            SHT_PROGBITS
    AddressAlign:    0x0000000000000001
    Content:         DEADBEEFBAADF00D
  - Name:            .debug_types
    Type:            SHT_PROGBITS
    AddressAlign:    0x0000000000000001
    Content:         DEADBEEFBAADF00D
  - Name:            .debug_types.dwo
    Type:            SHT_PROGBITS
    AddressAlign:    0x0000000000000001
    Content:         DEADBEEFBAADF00D
  - Name:            .debug_names
    Type:            SHT_PROGBITS
    AddressAlign:    0x0000000000000001
    Content:         DEADBEEFBAADF00D
  - Name:            .gnu_debugaltlink
    Type:            SHT_PROGBITS
    AddressAlign:    0x0000000000000001
    Content:         DEADBEEFBAADF00D
  - Name:            __codesection
    Type:            SHT_PROGBITS
    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
    Content:         DEADBEEFBAADF00D
  - Name:            .data
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC ]
    AddressAlign:    0x0000000000000004
    Content:         2F000000
  - Name:            .tdata
    Type:            SHT_PROGBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC, SHF_TLS ]
    AddressAlign:    0x0000000000000004
    Content:         2F000000
  - Name:            .tbss
    Type:            SHT_NOBITS
    Flags:           [ SHF_WRITE, SHF_ALLOC, SHF_TLS ]
    AddressAlign:    0x0000000000000004
    Size:            0x0000000000000004
...