[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / MachO / reloc-pcrel-offset.s
blob281d785c8607c6af447a2c29c60753f0aeffb398
1 // RUN: llvm-mc -n -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r -S --sd | FileCheck %s
3 .data
4 .long 0
6 .text
7 _a:
8 _b:
9 call _a
11 .subsections_via_symbols
13 // CHECK: Section {
14 // CHECK: Index: 0
15 // CHECK: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
16 // CHECK: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
17 // CHECK: Address: 0x0
18 // CHECK: Size: 0x4
19 // CHECK: Offset: 340
20 // CHECK: Alignment: 0
21 // CHECK: RelocationOffset: 0x0
22 // CHECK: RelocationCount: 0
23 // CHECK: Type: Regular (0x0)
24 // CHECK: Attributes [ (0x0)
25 // CHECK: ]
26 // CHECK: Reserved1: 0x0
27 // CHECK: Reserved2: 0x0
28 // CHECK: SectionData (
29 // CHECK: 0000: 00000000 |....|
30 // CHECK: )
31 // CHECK: }
32 // CHECK: Relocations [
33 // CHECK: Section __text {
34 // CHECK: 0x1 1 2 0 GENERIC_RELOC_VANILLA 0 __text
35 // CHECK: }
36 // CHECK: ]