brintos

brintos / llvm-project-archived public Read only

0
0
Text · 427 B · c409824 Raw
18 lines · plain
1# REQUIRES: x862# RUN: echo '.section foo, "a"; .byte 0' \3# RUN:   | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o4# RUN: ld.lld -o %t1 --script %s %t.o5 6# RUN: llvm-objdump --section-headers %t1 | FileCheck %s7# CHECK:      Sections:8# CHECK-NEXT: Idx Name          Size9# CHECK-NEXT:   0               0000000010# CHECK-NEXT:   1 foo           0000000111 12SECTIONS {13  foo : {14    *(.foo)15    CONSTRUCTORS16  }17}18