[MC] Convert other MachO tests from macho-dump to llvm-readobj.
[oota-llvm.git] / test / MC / MachO / temp-labels.s
1 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -save-temp-labels -o - | llvm-readobj -t | FileCheck %s
2
3 _f0:
4         .long 0
5 L0:
6         .long 0
7
8 // CHECK: Symbols [
9 // CHECK:   Symbol {
10 // CHECK:     Name: _f0 (1)
11 // CHECK:     Type: Section (0xE)
12 // CHECK:     Section: __text (0x1)
13 // CHECK:     RefType: UndefinedNonLazy (0x0)
14 // CHECK:     Flags [ (0x0)
15 // CHECK:     ]
16 // CHECK:     Value: 0x0
17 // CHECK:   }
18 // CHECK:   Symbol {
19 // CHECK:     Name: L0 (5)
20 // CHECK:     Type: Section (0xE)
21 // CHECK:     Section: __text (0x1)
22 // CHECK:     RefType: UndefinedNonLazy (0x0)
23 // CHECK:     Flags [ (0x0)
24 // CHECK:     ]
25 // CHECK:     Value: 0x4
26 // CHECK:   }
27 // CHECK: ]