[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / MachO / loc.s
blob143142027ad444e4b987758f8fb5b27736768494
1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r -S --sd | FileCheck %s
2 .file 2 "foo"
3 .file 1 "bar"
4 .loc 2 64 0
5 nop
7 // CHECK: Section {
8 // CHECK: Index: 1
9 // CHECK: Name: __debug_line (5F 5F 64 65 62 75 67 5F 6C 69 6E 65 00 00 00 00)
10 // CHECK: Segment: __DWARF (5F 5F 44 57 41 52 46 00 00 00 00 00 00 00 00 00)
11 // CHECK: Address: 0x1
12 // CHECK: Size: 0x3D
13 // CHECK: Offset: 237
14 // CHECK: Alignment: 0
15 // CHECK: RelocationOffset: 0x12C
16 // CHECK: RelocationCount: 1
17 // CHECK: Type: Regular (0x0)
18 // CHECK: Attributes [ (0x20000)
19 // CHECK: Debug (0x20000)
20 // CHECK: ]
21 // CHECK: Reserved1: 0x0
22 // CHECK: Reserved2: 0x0
23 // CHECK: SectionData (
24 // CHECK: 000: 39000000 04002200 00000101 01FB0E0D |9.....".........|
25 // CHECK: 010: 00010101 01000000 01000001 00626172 |.............bar|
26 // CHECK: 020: 00000000 666F6F00 00000000 04020005 |....foo.........|
27 // CHECK: 030: 02000000 00033F01 02010001 01 |......?......|
28 // CHECK: )
29 // CHECK: }
30 // CHECK: ]
31 // CHECK: Relocations [
32 // CHECK: Section __debug_line {
33 // CHECK: 0x31 0 2 0 GENERIC_RELOC_VANILLA 0 __text
34 // CHECK: }
35 // CHECK: ]