• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sd - | FileCheck  %s
2
3        .2byte 42, 1, 2, 3
4        .4byte 42, 1, 2, 3
5        .8byte 42, 1, 2, 3
6        .int 42, 1, 2, 3
7
8// CHECK:        Section {
9// CHECK:          Index:
10// CHECK:          Name: .text
11// CHECK-NEXT:     Type: SHT_PROGBITS
12// CHECK-NEXT:     Flags [
13// CHECK-NEXT:       SHF_ALLOC
14// CHECK-NEXT:       SHF_EXECINSTR
15// CHECK-NEXT:     ]
16// CHECK-NEXT:     Address: 0x0
17// CHECK-NEXT:     Offset: 0x40
18// CHECK-NEXT:     Size: 72
19// CHECK-NEXT:     Link: 0
20// CHECK-NEXT:     Info: 0
21// CHECK-NEXT:     AddressAlignment: 4
22// CHECK-NEXT:     EntrySize: 0
23// CHECK-NEXT:     SectionData (
24// CHECK-NEXT:       0000: 2A000100 02000300 2A000000 01000000
25// CHECK-NEXT:       0010: 02000000 03000000 2A000000 00000000
26// CHECK-NEXT:       0020: 01000000 00000000 02000000 00000000
27// CHECK-NEXT:       0030: 03000000 00000000 2A000000 01000000
28// CHECK-NEXT:       0040: 02000000 03000000
29// CHECK-NEXT:     )
30// CHECK-NEXT:   }
31