brintos

brintos / llvm-project-archived public Read only

0
0
Text · 989 B · f91d7af Raw
39 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objcopy -O binary %t %t23# RUN: od -t x1 %t2 | FileCheck %s --ignore-case4 5!ELF6FileHeader:7  Class:           ELFCLASS648  Data:            ELFDATA2LSB9  Type:            ET_EXEC10  Machine:         EM_X86_6411Sections:12  - Name:            .text13    Type:            SHT_PROGBITS14    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]15    Address:         0x100016    AddressAlign:    0x000000000000100017    Content:         "c3c3c3c3"18  - Name:            .data19    Type:            SHT_PROGBITS20    Flags:           [ SHF_ALLOC ]21    Address:         0x100822    AddressAlign:    0x000000000000000823    Content:         "3232"24ProgramHeaders:25  - Type:     PT_LOAD26    Flags:    [ PF_X, PF_R ]27    VAddr:    0x100028    Align:    0x100029    FirstSec: .text30    LastSec:  .text31  - Type:     PT_LOAD32    Flags:    [ PF_R, PF_W ]33    VAddr:    0x100834    Align:    0x100035    FirstSec: .data36    LastSec:  .data37 38# CHECK: 0000000 c3 c3 c3 c3 00 00 00 00 32 3239