23
23
24
24
# CHECK: 0x0000004f: DW_TAG_variable
25
25
# CHECK: DW_AT_name ("p3")
26
- # CHECK: DW_AT_type (0x0000005a "void *__ptrauth(4, 1, 0x04d4, "authenticates-null-values")")
26
+ # CHECK: DW_AT_type (0x0000005a "void *__ptrauth(4, 1, 0x04d4, "authenticates-null-values,strip ")")
27
27
28
28
# CHECK: 0x0000005a: DW_TAG_LLVM_ptrauth_type
29
29
# CHECK: DW_AT_LLVM_ptrauth_key (0x04)
30
30
# CHECK: DW_AT_LLVM_ptrauth_address_discriminated (true)
31
31
# CHECK: DW_AT_LLVM_ptrauth_extra_discriminator (0x04d4)
32
32
# CHECK: DW_AT_LLVM_ptrauth_authenticates_null_values (true)
33
33
34
- # CHECK: 0x00000062 : DW_TAG_variable
34
+ # CHECK: 0x00000063 : DW_TAG_variable
35
35
# CHECK: DW_AT_name ("p4")
36
- # CHECK: DW_AT_type (0x0000006d "void *__ptrauth(4, 1, 0x04d5, "isa-pointer,authenticates-null-values")")
36
+ # CHECK: DW_AT_type (0x0000006e "void *__ptrauth(4, 1, 0x04d5, "isa-pointer,authenticates-null-values,sign-and-strip ")")
37
37
38
- # CHECK: 0x0000006d : DW_TAG_LLVM_ptrauth_type
38
+ # CHECK: 0x0000006e : DW_TAG_LLVM_ptrauth_type
39
39
# CHECK: DW_AT_LLVM_ptrauth_key (0x04)
40
40
# CHECK: DW_AT_LLVM_ptrauth_address_discriminated (true)
41
41
# CHECK: DW_AT_LLVM_ptrauth_extra_discriminator (0x04d5)
44
44
45
45
.section __TEXT,__text,regular,pure_instructions
46
46
.file 1 "/" "/tmp/p.c"
47
- .comm _p,8 ; @p
47
+ .comm _p,8 , 3 ; @p
48
48
.section __DWARF,__debug_abbrev,regular,debug
49
49
Lsection_abbrev:
50
50
.byte 1 ; Abbreviation Code
@@ -140,6 +140,8 @@ Lsection_abbrev:
140
140
.byte 5 ; DW_FORM_data2
141
141
.ascii "\211|" ; DW_AT_LLVM_ptrauth_authenticates_null_values
142
142
.byte 25 ; DW_FORM_flag_present
143
+ .ascii "\212|" ; DW_AT_LLVM_ptrauth_authentication_mode
144
+ .byte 11 ; DW_FORM_data1
143
145
.byte 0 ; EOM(1 )
144
146
.byte 0 ; EOM(2 )
145
147
.byte 8 ; Abbreviation Code
@@ -157,6 +159,8 @@ Lsection_abbrev:
157
159
.byte 25 ; DW_FORM_flag_present
158
160
.ascii "\211|" ; DW_AT_LLVM_ptrauth_authenticates_null_values
159
161
.byte 25 ; DW_FORM_flag_present
162
+ .ascii "\212|" ; DW_AT_LLVM_ptrauth_authentication_mode
163
+ .byte 11 ; DW_FORM_data1
160
164
.byte 0 ; EOM(1 )
161
165
.byte 0 ; EOM(2 )
162
166
.byte 0 ; EOM(3 )
@@ -170,7 +174,7 @@ Ldebug_info_start0:
170
174
.set Lset1, Lsection_abbrev-Lsection_abbrev ; Offset Into Abbrev. Section
171
175
.long Lset1
172
176
.byte 8 ; Address Size (in bytes)
173
- .byte 1 ; Abbrev [1] 0xb: 0x6b DW_TAG_compile_unit
177
+ .byte 1 ; Abbrev [1] 0xb: 0x6d DW_TAG_compile_unit
174
178
.long 0 ; DW_AT_producer
175
179
.short 12 ; DW_AT_language
176
180
.long 1 ; DW_AT_name
@@ -210,25 +214,27 @@ Ldebug_info_start0:
210
214
; DW_AT_external
211
215
.byte 1 ; DW_AT_decl_file
212
216
.byte 1 ; DW_AT_decl_line
213
- .byte 7 ; Abbrev [7] 0x5a: 0x8 DW_TAG_LLVM_ptrauth_type
217
+ .byte 7 ; Abbrev [7] 0x5a: 0x9 DW_TAG_LLVM_ptrauth_type
214
218
.long 59 ; DW_AT_type
215
219
.byte 4 ; DW_AT_LLVM_ptrauth_key
216
220
; DW_AT_LLVM_ptrauth_address_discriminated
217
221
.short 1236 ; DW_AT_LLVM_ptrauth_extra_discriminator
218
222
; DW_AT_LLVM_ptrauth_authenticates_null_values
219
- .byte 5 ; Abbrev [5] 0x62: 0xb DW_TAG_variable
223
+ .byte 1 ; DW_AT_LLVM_ptrauth_authentication_mode
224
+ .byte 5 ; Abbrev [5] 0x63: 0xb DW_TAG_variable
220
225
.long 21 ; DW_AT_name
221
- .long 109 ; DW_AT_type
226
+ .long 110 ; DW_AT_type
222
227
; DW_AT_external
223
228
.byte 1 ; DW_AT_decl_file
224
229
.byte 1 ; DW_AT_decl_line
225
- .byte 8 ; Abbrev [8] 0x6d: 0x8 DW_TAG_LLVM_ptrauth_type
230
+ .byte 8 ; Abbrev [8] 0x6e: 0x9 DW_TAG_LLVM_ptrauth_type
226
231
.long 59 ; DW_AT_type
227
232
.byte 4 ; DW_AT_LLVM_ptrauth_key
228
233
; DW_AT_LLVM_ptrauth_address_discriminated
229
234
.short 1237 ; DW_AT_LLVM_ptrauth_extra_discriminator
230
235
; DW_AT_LLVM_ptrauth_isa_pointer
231
236
; DW_AT_LLVM_ptrauth_authenticates_null_values
237
+ .byte 2 ; DW_AT_LLVM_ptrauth_authentication_mode
232
238
.byte 0 ; End Of Children Mark
233
239
Ldebug_info_end0:
234
240
.section __DWARF,__debug_str,regular,debug
0 commit comments