brintos

brintos / llvm-project-archived public Read only

0
0
Text · 647 B · 528cb4b Raw
27 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=i386-unknown-linux %s -o %t.o4# RUN: ld.lld %t.o -o %t --gc-sections5# RUN: llvm-readobj -S %t | FileCheck %s6# RUN: llvm-objdump --no-print-imm-hex -d %t | FileCheck --check-prefix=DISASM %s7 8# CHECK:      Name: .foo9# CHECK-NEXT: Type: SHT_PROGBITS10# CHECK-NEXT: Flags [11# CHECK-NEXT:   SHF_ALLOC12# CHECK-NEXT:   SHF_MERGE13# CHECK-NEXT:   SHF_STRINGS14# CHECK-NEXT: ]15# CHECK-NEXT: Address: 0x4000B416 17# 0x4000B4 == 419448418# DISASM: leal    4194484, %eax19 20        .section        .foo,"aMS",@progbits,121        .byte 022 23        .text24        .global _start25_start:26        leal    .foo, %eax27