brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1021 B · 764af14 Raw
39 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objcopy -O binary %t %t23# RUN: od -t x2 %t2 | FileCheck %s --ignore-case4# RUN: wc -c < %t2 | FileCheck %s --check-prefix=SIZE5 6!ELF7FileHeader:8  Class:           ELFCLASS649  Data:            ELFDATA2LSB10  Type:            ET_EXEC11  Machine:         EM_X86_6412Sections:13  - Name:            .text14    Type:            SHT_PROGBITS15    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]16    AddressAlign:    0x000000000000100017    Address:         0x0018    Content:         "c3c3c3c3"19  - Name:            .data20    Type:            SHT_PROGBITS21    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]22    AddressAlign:    0x000000000000000823    Address:         0x0824    Content:         "3232"25ProgramHeaders:26  - Type:     PT_LOAD27    Flags:    [ PF_X, PF_R ]28    VAddr:    0x0029    FirstSec: .text30    LastSec:  .text31  - Type:     PT_LOAD32    Flags:    [ PF_R ]33    VAddr:    0x0834    FirstSec: .data35    LastSec:  .data36 37# CHECK:       0000000 c3c3 c3c3 0000 0000 323238# SIZE:        1039