• 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// CHECK:        Section {
4// CHECK:          Name: .comment
5// CHECK-NEXT:     Type: SHT_PROGBITS
6// CHECK-NEXT:     Flags [
7// CHECK-NEXT:       SHF_MERGE
8// CHECK-NEXT:       SHF_STRINGS
9// CHECK-NEXT:     ]
10// CHECK-NEXT:     Address: 0x0
11// CHECK-NEXT:     Offset: 0x40
12// CHECK-NEXT:     Size: 13
13// CHECK-NEXT:     Link: 0
14// CHECK-NEXT:     Info: 0
15// CHECK-NEXT:     AddressAlignment: 1
16// CHECK-NEXT:     EntrySize: 1
17// CHECK-NEXT:     SectionData (
18// CHECK-NEXT:       0000: 00666F6F 00626172 007A6564 00
19// CHECK-NEXT:     )
20// CHECK-NEXT:   }
21
22        .ident "foo"
23        .ident "bar"
24        .ident "zed"
25