brintos

brintos / llvm-project-archived public Read only

0
0
Text · 708 B · 30bbe75 Raw
25 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3// RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s4 5// CHECK:      error: incompatible section flags for .foo6// CHECK-NEXT: >>> {{.*}}incompatible-section-flags.s.tmp.o:(.foo): 0x37// CHECK-NEXT: >>> output section .foo: 0x4038 9// CHECK:      error: incompatible section flags for .bar10// CHECK-NEXT: >>> {{.*}}incompatible-section-flags.s.tmp.o:(.bar): 0x40311// CHECK-NEXT: >>> output section .bar: 0x312 13.section .foo, "awT", @progbits, unique, 114.quad 015 16.section .foo, "aw", @progbits, unique, 217.quad 018 19 20.section .bar, "aw", @progbits, unique, 321.quad 022 23.section .bar, "awT", @progbits, unique, 424.quad 025