brintos

brintos / llvm-project-archived public Read only

0
0
Text · 612 B · b9543da Raw
29 lines · plain
1## Test that we disassemble the start of the section even2## if there is no start symbol.3 4# RUN: yaml2obj %s -o %t5# RUN: llvm-objdump -d %t | FileCheck %s6 7# CHECK: Disassembly of section .text:8# CHECK-EMPTY:9# CHECK-NEXT:  <.text>:10# CHECK-NEXT:    0: 90 nop11# CHECK:       <foo>:12# CHECK-NEXT:    1: 90 nop13 14--- !ELF15FileHeader:16  Class:   ELFCLASS6417  Data:    ELFDATA2LSB18  Type:    ET_REL19  Machine: EM_X86_6420Sections:21  - Name:    .text22    Type:    SHT_PROGBITS23    Flags:   [ SHF_ALLOC, SHF_EXECINSTR ]24    Content: '9090'25Symbols:26  - Name:    foo27    Section: .text28    Value:   0x000000000000000129