Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / test / MC / ELF / leb128.s
blobe5f31f4834dd231cfdbc930ab0b92a6194fc2fde
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump --dump-section-data | FileCheck %s
3 .sleb128 .Lfoo - .Lbar
4 .Lfoo:
5 .uleb128 .Lbar - .Lfoo
6 .fill 126, 1, 0x90
7 .Lbar:
9 // CHECK: (('sh_name', 0x00000001) # '.text'
10 // CHECK-NEXT: ('sh_type', 0x00000001)
11 // CHECK-NEXT: ('sh_flags', 0x00000006)
12 // CHECK-NEXT: ('sh_addr', 0x00000000)
13 // CHECK-NEXT: ('sh_offset', 0x00000040)
14 // CHECK-NEXT: ('sh_size', 0x00000081)
15 // CHECK-NEXT: ('sh_link', 0x00000000)
16 // CHECK-NEXT: ('sh_info', 0x00000000)
17 // CHECK-NEXT: ('sh_addralign', 0x00000004)
18 // CHECK-NEXT: ('sh_entsize', 0x00000000)
19 // CHECK-NEXT: ('_section_data', '817f7f90 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90909090 90')