brintos

brintos / llvm-project-archived public Read only

0
0
Text · 557 B · ccacd00 Raw
18 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o4# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s5 6## Check we do not crash and report proper errors.7# CHECK:      error: a section .bar with SHF_LINK_ORDER should not refer a non-regular section: {{.*}}.o:(.foo)8# CHECK-NEXT: error: a section .bar with SHF_LINK_ORDER should not refer a non-regular section: {{.*}}.o:(.foo)9 10.section .foo,"aM",@progbits,811.quad 012 13.section .bar,"ao",@progbits,.foo,unique,114.quad 015 16.section .bar,"ao",@progbits,.foo,unique,217.quad 118