brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · eac0ce0 Raw
41 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objcopy --rename-section=.test1=.test2 --rename-section=.test3=.test4 --rename-section=.test5=.test6 %t %t23# RUN: llvm-readobj --file-headers --sections --section-data %t2 | FileCheck %s4 5!ELF6FileHeader:7  Class:           ELFCLASS648  Data:            ELFDATA2LSB9  Type:            ET_REL10  Machine:         EM_X86_6411Sections:12  - Name:            .test113    Type:            SHT_PROGBITS14    Flags:           [ SHF_ALLOC ]15    Content:        "c3c3c3c3"16  - Name:            .test317    Type:            SHT_PROGBITS18    Flags:           [ SHF_ALLOC ]19    Content:        "abababab"20  - Name:            .test721    Type:            SHT_PROGBITS22    Flags:           [ SHF_ALLOC ]23    Content:        "37373737"24 25# CHECK: SectionHeaderCount: 626 27# CHECK: Name: .test228# CHECK: SectionData (29# CHECK-NEXT:   0000: C3C3C3C330# CHECK-NEXT: )31# CHECK: Name: .test432# CHECK: SectionData (33# CHECK-NEXT:   0000: ABABABAB34# CHECK-NEXT: )35# CHECK: Name: .test736# CHECK: SectionData (37# CHECK-NEXT:   0000: 3737373738# CHECK-NEXT: )39# CHECK: Name: .strtab40# CHECK: Name: .shstrtab41