[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / MachO / ARM / no-subsections-reloc.s
blob68b9b3865a2d7919109efb6050ee34f5c3d97a08
1 @ RUN: llvm-mc -n -triple thumbv7-apple-darwin10 %s -filetype=obj -o %t.obj
2 @ RUN: llvm-readobj -S --sd < %t.obj > %t.dump
3 @ RUN: FileCheck < %t.dump %s
5 @ When not using subsections-via-symbols, references to non-local symbols
6 @ in the same section can be resolved at assembly time w/o relocations.
8 .syntax unified
9 .text
10 .thumb
11 .thumb_func _foo
12 _foo:
13 ldr r3, bar
14 bar:
15 .long 0
17 @ CHECK: RelocationCount: 0
18 @ CHECK: SectionData (
19 @ CHECK: 0000: DFF80030 00000000 |...0....|
20 @ CHECK: )