reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
  112
  113
  114
  115
  116
  117
  118
  119
  120
  121
  122
  123
  124
  125
  126
  127
  128
  129
  130
  131
  132
  133
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  144
  145
  146
  147
  148
  149
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161
  162
  163
  164
  165
  166
  167
  168
  169
  170
  171
  172
  173
  174
  175
  176
  177
  178
  179
  180
  181
  182
  183
  184
  185
  186
  187
  188
  189
  190
  191
  192
  193
  194
  195
  196
  197
  198
  199
  200
  201
  202
  203
@ RUN: llvm-mc -triple armv7-linux-eabi -filetype obj -o - %s \
@ RUN:   | llvm-readobj -S --sd --sr > %t
@ RUN: FileCheck %s < %t
@ RUN: FileCheck --check-prefix=RELOC %s < %t

	.syntax unified
	.thumb


	.section .pr0

	.global pr0
	.type pr0,%function
	.thumb_func
pr0:
	.fnstart
	.personalityindex 0
	bx lr
	.fnend

@ CHECK: Section {
@ CHECK:   Name: .ARM.exidx.pr0
@ CHECK:   SectionData (
@ CHECK:     0000: 00000000 B0B0B080
@ CHECK:   )
@ CHECK: }

@ RELOC: Section {
@ RELOC:   Name: .rel.ARM.exidx.pr0
@ RELOC:   Relocations [
@ RELOC:     0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
@ RELOC:     0x0 R_ARM_PREL31 .pr0 0x0
@ RELOC:   ]
@ RELOC: }

	.section .pr0.nontrivial

	.global pr0_nontrivial
	.type pr0_nontrivial,%function
	.thumb_func
pr0_nontrivial:
	.fnstart
	.personalityindex 0
	.pad #0x10
	sub sp, sp, #0x10
	add sp, sp, #0x10
	bx lr
	.fnend

@ CHECK: Section {
@ CHECK:   Name: .ARM.exidx.pr0.nontrivial
@ CHECK:   SectionData (
@ CHECK:     0000: 00000000 B0B00380
@ CHECK:   )
@ CHECK: }

@ RELOC: Section {
@ RELOC:   Name: .rel.ARM.exidx.pr0.nontrivial
@ RELOC:   Relocations [
@ RELOC:     0x0 R_ARM_NONE __aeabi_unwind_cpp_pr0 0x0
@ RELOC:     0x0 R_ARM_PREL31 .pr0.nontrivial 0x0
@ RELOC:   ]
@ RELOC: }

	.section .pr1

	.global pr1
	.type pr1,%function
	.thumb_func
pr1:
	.fnstart
	.personalityindex 1
	bx lr
	.fnend

@ CHECK: Section {
@ CHECK:   Name: .ARM.extab.pr1
@ CHECK:   SectionData (
@ CHECK:     0000: B0B00081 00000000
@ CHECK:   )
@ CHECK: }

@ CHECK: Section {
@ CHECK:   Name: .ARM.exidx.pr1
@ CHECK:   SectionData (
@ CHECK:     0000: 00000000 00000000
@ CHECK:   )
@ CHECK: }

@ RELOC: Section {
@ RELOC:   Name: .rel.ARM.exidx.pr1
@ RELOC:   Relocations [
@ RELOC:     0x0 R_ARM_NONE __aeabi_unwind_cpp_pr1 0x0
@ RELOC:     0x0 R_ARM_PREL31 .pr1 0x0
@ RELOC:     0x4 R_ARM_PREL31 .ARM.extab.pr1 0x0
@ RELOC:   ]
@ RELOC: }

	.section .pr1.nontrivial

	.global pr1_nontrivial
	.type pr1_nontrivial,%function
	.thumb_func
pr1_nontrivial:
	.fnstart
	.personalityindex 1
	.pad #0x10
	sub sp, sp, #0x10
	add sp, sp, #0x10
	bx lr
	.fnend

@ CHECK: Section {
@ CHECK:   Name: .ARM.extab.pr1.nontrivial
@ CHECK:   SectionData (
@ CHECK:     0000: B0030081 00000000
@ CHECK:   )
@ CHECK: }

@ CHECK: Section {
@ CHECK:   Name: .ARM.exidx.pr1.nontrivial
@ CHECK:   SectionData (
@ CHECK:     0000: 00000000 00000000
@ CHECK:   )
@ CHECK: }

@ RELOC: Section {
@ RELOC:   Name: .rel.ARM.exidx.pr1.nontrivial
@ RELOC:   Relocations [
@ RELOC:     0x0 R_ARM_NONE __aeabi_unwind_cpp_pr1 0x0
@ RELOC:     0x0 R_ARM_PREL31 .pr1.nontrivial 0x0
@ RELOC:     0x4 R_ARM_PREL31 .ARM.extab.pr1.nontrivial 0x0
@ RELOC:   ]
@ RELOC: }

	.section .pr2

	.global pr2
	.type pr2,%function
	.thumb_func
pr2:
	.fnstart
	.personalityindex 2
	bx lr
	.fnend

@ CHECK: Section {
@ CHECK:   Name: .ARM.extab.pr2
@ CHECK:   SectionData (
@ CHECK:     0000: B0B00082 00000000
@ CHECK:   )
@ CHECK: }

@ CHECK: Section {
@ CHECK:   Name: .ARM.exidx.pr2
@ CHECK:   SectionData (
@ CHECK:     0000: 00000000 00000000
@ CHECK:   )
@ CHECK: }

@ RELOC: Section {
@ RELOC:   Name: .rel.ARM.exidx.pr2
@ RELOC:   Relocations [
@ RELOC:     0x0 R_ARM_NONE __aeabi_unwind_cpp_pr2 0x0
@ RELOC:     0x0 R_ARM_PREL31 .pr2 0x0
@ RELOC:     0x4 R_ARM_PREL31 .ARM.extab.pr2 0x0
@ RELOC:   ]
@ RELOC: }

	.section .pr2.nontrivial
	.type pr2_nontrivial,%function
	.thumb_func
pr2_nontrivial:
	.fnstart
	.personalityindex 2
	.pad #0x10
	sub sp, sp, #0x10
	add sp, sp, #0x10
	bx lr
	.fnend

@ CHECK: Section {
@ CHECK:   Name: .ARM.extab.pr2.nontrivial
@ CHECK:   SectionData (
@ CHECK:     0000: B0030082 00000000
@ CHECK:   )
@ CHECK: }

@ CHECK: Section {
@ CHECK:   Name: .ARM.exidx.pr2.nontrivial
@ CHECK:   SectionData (
@ CHECK:     0000: 00000000 00000000
@ CHECK:   )
@ CHECK: }

@ RELOC: Section {
@ RELOC:   Name: .rel.ARM.exidx.pr2.nontrivial
@ RELOC:   Relocations [
@ RELOC:     0x0 R_ARM_NONE __aeabi_unwind_cpp_pr2 0x0
@ RELOC:     0x0 R_ARM_PREL31 .pr2.nontrivial 0x0
@ RELOC:     0x4 R_ARM_PREL31 .ARM.extab.pr2.nontrivial 0x0
@ RELOC:   ]
@ RELOC: }