• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=ELF_32 %s
2// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=ELF_64 %s
3// RUN: llvm-mc -filetype=obj -triple i386-apple-darwin9 %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=MACHO_32 %s
4// RUN: llvm-mc -filetype=obj -triple x86_64-apple-darwin9 %s -o - | llvm-readobj -s -sd | FileCheck -check-prefix=MACHO_64 %s
5
6	.text
7foo:
8	.uleb128	0
9	.uleb128	1
10	.uleb128	127
11	.uleb128	128
12	.uleb128	16383
13	.uleb128	16384
14        .uleb128	23, 42
15
16// ELF_32:   Name: .text
17// ELF_32:   SectionData (
18// ELF_32:     0000: 00017F80 01FF7F80 8001172A
19// ELF_32:   )
20// ELF_64:   Name: .text
21// ELF_64:   SectionData (
22// ELF_64:     0000: 00017F80 01FF7F80 8001172A
23// ELF_64:   )
24// MACHO_32: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
25// MACHO_32: SectionData (
26// MACHO_32:   0000: 00017F80 01FF7F80 8001172A           |...........*|
27// MACHO_32: )
28// MACHO_64: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
29// MACHO_64: SectionData (
30// MACHO_64:       0000: 00017F80 01FF7F80 8001172A           |...........*|
31// MACHO_64: )
32