[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / macho-reloc-thumb-local.s
blob1461b1ef1f54c1ed631f140bf90749d3ae3075c5
1 @ RUN: llvm-mc -triple thumbv6m-apple-macho %s -filetype=obj -o %t
2 @ RUN: llvm-objdump --macho --section=__DATA,__data %t | FileCheck %s
4 @ CHECK: 00000000 00000003
5 .data
6 .align 2
7 .global _foo
8 _foo:
9 .long _bar
10 .long _baz
12 .text
13 .thumb_func _bar
14 .weak_definition _bar
15 _bar:
16 bx lr
18 .thumb_func _baz
19 .global _baz
20 _baz:
21 bx lr