49
49
; CHECK-DAG: ![[DBG6]] = distinct !DIGlobalVariable(name: "g_66", {{.*}}
50
50
; CHECK: ![[G7:[0-9]+]] = !DIGlobalVariableExpression(var: ![[DBG7:[0-9]+]], expr: !DIExpression(DW_OP_constu, 70, DW_OP_stack_value))
51
51
; CHECK-DAG: ![[DBG7]] = distinct !DIGlobalVariable(name: "g_77", {{.*}}
52
+ ; CHECK: = !DIGlobalVariableExpression(var: ![[DBG_FLOAT_UNDEF:.+]], expr: !DIExpression())
53
+ ; CHECK-DAG: ![[DBG_FLOAT_UNDEF]] = distinct !DIGlobalVariable(name: "g_float_undef"
52
54
53
55
@g_1 = dso_local global i32 -4 , align 4 , !dbg !0
54
56
@g_2 = dso_local global float 0x4011C28F60000000 , align 4 , !dbg !8
64
66
@_ZL4g_55 = internal global i8 1 , align 1 , !dbg !33
65
67
@_ZL4g_66 = internal global ptr null , align 8 , !dbg !35
66
68
@_ZL4g_77 = internal global ptr inttoptr (i64 70 to ptr ), align 8 , !dbg !37
69
+ @g_float_undef = internal global float undef , align 4 , !dbg !83
67
70
68
71
define dso_local void @_Z3barv () !dbg !46 {
69
72
entry:
83
86
store ptr %5 , ptr @g_6 , align 8 , !dbg !59
84
87
%6 = load ptr , ptr @_ZL4g_77 , align 8 , !dbg !59
85
88
store ptr %6 , ptr @g_7 , align 8 , !dbg !59
89
+ %l = load float , ptr @g_float_undef , align 8 , !dbg !59
90
+ store float %l , ptr @g_2 , align 8 , !dbg !59
86
91
ret void , !dbg !59
87
92
}
88
93
@@ -103,7 +108,7 @@ entry:
103
108
!4 = !{!5 }
104
109
!5 = !DIDerivedType (tag: DW_TAG_pointer_type, baseType: !6 , size: 64 )
105
110
!6 = !DIBasicType (name: "float" , size: 32 , encoding: DW_ATE_float)
106
- !7 = !{!0 , !8 , !10 , !13 , !16 , !19 , !23 , !25 , !27 , !29 , !31 , !33 , !35 , !37 }
111
+ !7 = !{!0 , !8 , !10 , !13 , !16 , !19 , !23 , !25 , !27 , !29 , !31 , !33 , !35 , !37 , !83 }
107
112
!8 = !DIGlobalVariableExpression (var: !9 , expr: !DIExpression ())
108
113
!9 = distinct !DIGlobalVariable (name: "g_2" , scope: !2 , file: !3 , line: 2 , type: !6 , isLocal: false , isDefinition: true )
109
114
!10 = !DIGlobalVariableExpression (var: !11 , expr: !DIExpression ())
@@ -152,3 +157,5 @@ entry:
152
157
!80 = !DILocation (line: 29 , column: 5 , scope: !81 )
153
158
!81 = distinct !DILexicalBlock (scope: !77 , file: !3 , line: 28 , column: 3 )
154
159
!82 = !DILocation (line: 31 , column: 1 , scope: !77 )
160
+ !83 = !DIGlobalVariableExpression (var: !84 , expr: !DIExpression ())
161
+ !84 = distinct !DIGlobalVariable (name: "g_float_undef" , linkageName: "g_float_undef" , scope: !2 , file: !3 , line: 15 , type: !6 , isLocal: true , isDefinition: true )
0 commit comments