brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · 1ebe400 Raw
68 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objdump --full-contents %t > %t.out13# RUN: llvm-objdump -s %t > %t.out24# RUN: cmp %t.out1 %t.out25# RUN: FileCheck %s --input-file=%t.out1 --implicit-check-not=.empty-progbits \6# RUN:              --implicit-check-not=.empty-nobits7 8# CHECK:      .bss9# CHECK-NEXT: <skipping contents of bss section at [1000, 1040)>10# CHECK:      .text11# CHECK-NEXT:  1010 01234567                             .#Eg12# CHECK:      .user-defined13# CHECK-NEXT:  1020 76543210                             vT2.14# CHECK:      .nobits-section15# CHECK-NEXT: <skipping contents of bss section at [1030, 1050)>16# CHECK:      .non-alloc17# CHECK:       0000 11112222                             ..""18# CHECK:      .symtab19# CHECK:      .strtab20# CHECK:      .shstrtab21 22!ELF23FileHeader:24  Class:           ELFCLASS6425  Data:            ELFDATA2LSB26  Type:            ET_EXEC27  Machine:         EM_X86_6428Sections:29  - Name:            .bss30    Type:            SHT_NOBITS31    Flags:           [ SHF_ALLOC ]32    Address:         0x100033    AddressAlign:    0x000000000000001034    Size:            6435  - Name:            .text36    Type:            SHT_PROGBITS37    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]38    Address:         0x101039    AddressAlign:    0x000000000000001040    Content:         "01234567"41    Size:            442  - Name:            .user-defined43    Type:            SHT_PROGBITS44    Flags:           [ SHF_ALLOC ]45    Address:         0x102046    AddressAlign:    0x000000000000001047    Content:         "76543210"48    Size:            449  - Name:            .nobits-section50    Type:            SHT_NOBITS51    Flags:           [ SHF_ALLOC ]52    Address:         0x103053    AddressAlign:    0x000000000000001054    Size:            3255  - Name:            .empty-progbits56    Type:            SHT_PROGBITS57    Address:         0x104058    Flags:           [ SHF_ALLOC ]59  - Name:            .empty-nobits60    Type:            SHT_NOBITS61    Address:         0x105062    Flags:           [ SHF_ALLOC ]63  - Name:            .non-alloc64    Type:            SHT_PROGBITS65    Flags:           [ ]66    Content:         '11112222'67Symbols: []68