brintos

brintos / llvm-project-archived public Read only

0
0
Text · 385 B · cda7bc7 Raw
15 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o3# RUN: echo '.section .foo,"aG",@progbits,zz,comdat; .weak foo; foo:' | \4# RUN:   llvm-mc -filetype=obj -triple=x86_64 - -o %t1.o5# RUN: ld.lld %t.o %t1.o -o %t6# RUN: llvm-readelf -s %t | FileCheck %s7 8# CHECK: NOTYPE WEAK DEFAULT UND foo9 10.globl _start11_start:12  jmp foo13 14.section .foo,"aG",@progbits,zz,comdat15