[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / MachO / section-flags.s
blob34fb60e9e7f00d73d6c692784b747ee5bd855ab1
1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -S --sd | FileCheck %s
3 .text
5 .data
6 f0:
7 movl $0, %eax
9 // CHECK: Sections [
10 // CHECK: Section {
11 // CHECK: Index: 0
12 // CHECK: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
13 // CHECK: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
14 // CHECK: Address: 0x0
15 // CHECK: Size: 0x0
16 // CHECK: Offset: 340
17 // CHECK: Alignment: 0
18 // CHECK: RelocationOffset: 0x0
19 // CHECK: RelocationCount: 0
20 // CHECK: Type: Regular (0x0)
21 // CHECK: Attributes [ (0x800000)
22 // CHECK: PureInstructions (0x800000)
23 // CHECK: ]
24 // CHECK: Reserved1: 0x0
25 // CHECK: Reserved2: 0x0
26 // CHECK: SectionData (
27 // CHECK: )
28 // CHECK: }
29 // CHECK: Section {
30 // CHECK: Index: 1
31 // CHECK: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
32 // CHECK: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
33 // CHECK: Address: 0x0
34 // CHECK: Size: 0x5
35 // CHECK: Offset: 340
36 // CHECK: Alignment: 0
37 // CHECK: RelocationOffset: 0x0
38 // CHECK: RelocationCount: 0
39 // CHECK: Type: Regular (0x0)
40 // CHECK: Attributes [ (0x4)
41 // CHECK: SomeInstructions (0x4)
42 // CHECK: ]
43 // CHECK: Reserved1: 0x0
44 // CHECK: Reserved2: 0x0
45 // CHECK: SectionData (
46 // CHECK: 0000: B8000000 00 |.....|
47 // CHECK: )
48 // CHECK: }
49 // CHECK: ]