brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1010 B · e6a7329 Raw
26 lines · plain
1# RUN: not llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:2 3.section .alloc_w,"aw",@progbits; w:4# CHECK: :[[#@LINE+1]]:16: error: .uleb128 expression is not absolute5.uleb128 extern-w   # extern is undefined6# CHECK: :[[#@LINE+1]]:11: error: .uleb128 expression is not absolute7.uleb128 w-extern8# CHECK: :[[#@LINE+1]]:11: error: .uleb128 expression is not absolute9.uleb128 x-w        # x is later defined in another section10.uleb128 w1-w       # w1 is later defined in the same section11w1:12 13.section .alloc_x,"aw",@progbits; x:14# CHECK: :[[#@LINE+1]]:11: error: .sleb128 expression is not absolute15.sleb128 y-x16.section .alloc_y,"aw",@progbits; y:17# CHECK: :[[#@LINE+1]]:11: error: .sleb128 expression is not absolute18.sleb128 x-y19 20.section .nonalloc_x; nx:21# CHECK: :[[#@LINE+1]]:12: error: .sleb128 expression is not absolute22.sleb128 ny-nx23.section .nonalloc_y; ny:24# CHECK: :[[#@LINE+1]]:12: error: .sleb128 expression is not absolute25.sleb128 nx-ny26