~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/MC/ARM/thumb-types.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@ RUN: llvm-mc -triple armv7-elf -filetype obj -o - %s | llvm-readobj -t \
 
2
@ RUN:    | FileCheck %s
 
3
 
 
4
        .syntax unified
 
5
 
 
6
        .thumb
 
7
 
 
8
        .type implicit_function,%function
 
9
implicit_function:
 
10
        nop
 
11
 
 
12
        .type implicit_data,%object
 
13
implicit_data:
 
14
        .long 0
 
15
 
 
16
        .arm
 
17
        .type arm_function,%function
 
18
arm_function:
 
19
        nop
 
20
 
 
21
        .thumb
 
22
 
 
23
        .text
 
24
 
 
25
untyped_text_label:
 
26
        nop
 
27
 
 
28
        .type explicit_function,%function
 
29
explicit_function:
 
30
        nop
 
31
 
 
32
        .long   tls(TPOFF)
 
33
 
 
34
        .type indirect_function,%gnu_indirect_function
 
35
indirect_function:
 
36
        nop
 
37
 
 
38
        .data
 
39
 
 
40
untyped_data_label:
 
41
        nop
 
42
 
 
43
        .type explicit_data,%object
 
44
explicit_data:
 
45
        .long 0
 
46
 
 
47
        .section        .tdata,"awT",%progbits
 
48
        .type   tls,%object
 
49
        .align  2
 
50
tls:
 
51
        .long   42
 
52
        .size   tls, 4
 
53
 
 
54
 
 
55
@ CHECK: Symbol {
 
56
@ CHECK:   Name: arm_function
 
57
@ CHECK:   Value: 0x6
 
58
@ CHECK:   Type: Function
 
59
@ CHECK: }
 
60
 
 
61
@ CHECK: Symbol {
 
62
@ CHECK:   Name: explicit_data
 
63
@ CHECK:   Value: 0x2
 
64
@ CHECK:   Type: Object
 
65
@ CHECK: }
 
66
 
 
67
@ CHECK: Symbol {
 
68
@ CHECK:   Name: explicit_function
 
69
@ CHECK:   Value: 0xD
 
70
@ CHECK:   Type: Function
 
71
@ CHECK: }
 
72
 
 
73
@ CHECK: Symbol {
 
74
@ CHECK:   Name: implicit_data
 
75
@ CHECK:   Value: 0x2
 
76
@ CHECK:   Type: Object
 
77
@ CHECK: }
 
78
 
 
79
@ CHECK: Symbol {
 
80
@ CHECK:   Name: implicit_function
 
81
@ CHECK:   Value: 0x1
 
82
@ CHECK:   Type: Function
 
83
@ CHECK: }
 
84
 
 
85
@ CHECK: Symbol {
 
86
@ CHECK:   Name: indirect_function
 
87
@ CHECK:   Value: 0x13
 
88
@ CHECK:   Type: GNU_IFunc
 
89
@ CHECK: }
 
90
 
 
91
@ CHECK: Symbol {
 
92
@ CHECK:   Name: tls
 
93
@ CHECK:   Value: 0x0
 
94
@ CHECK:   Type: TLS
 
95
@ CHECK: }
 
96
 
 
97
@ CHECK: Symbol {
 
98
@ CHECK:   Name: untyped_data_label
 
99
@ CHECK:   Value: 0x0
 
100
@ CHECK:   Type: None
 
101
@ CHECK: }
 
102
 
 
103
@ CHECK: Symbol {
 
104
@ CHECK:   Name: untyped_text_label
 
105
@ CHECK:   Value: 0xA
 
106
@ CHECK:   Type: None
 
107
@ CHECK: }
 
108