• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s
2; PR33624
3
4source_filename = "ws.c"
5target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
6target triple = "wasm32-unknown-unknown"
7
8%struct.bd = type { i8 }
9
10@gBd = hidden global [2 x %struct.bd] [%struct.bd { i8 1 }, %struct.bd { i8 2 }], align 1
11
12; CHECK:        - Type:            DATA
13; CHECK:              Content:         '0102'
14
15; CHECK:          SymbolTable:
16; CHECK-NEXT:       - Index:           0
17; CHECK-NEXT:         Kind:            DATA
18; CHECK-NEXT:         Name:            gBd
19; CHECK-NEXT:         Flags:           [ VISIBILITY_HIDDEN ]
20; CHECK-NEXT:         Segment:         0
21; CHECK-NEXT:         Size:            2
22; CHECK-NEXT:     SegmentInfo:
23; CHECK-NEXT:       - Index:           0
24; CHECK-NEXT:         Name:            .data
25; CHECK-NEXT:         Alignment:       1
26; CHECK-NEXT:         Flags:           [ ]
27; CHECK-NEXT: ...
28