Skip to content

Commit dd80de1

Browse files
committed
Update warning message in tests
1 parent b71b845 commit dd80de1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bolt/test/binary-analysis/AArch64/gs-pauth-jump-table.s

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.type good_jump_table,@function
2323
good_jump_table:
2424
// CHECK-NOT: good_jump_table
25-
// CFG: GS-PAUTH: Warning: the function has unreachable basic blocks (possibly incomplete CFG) in function good_jump_table
25+
// CFG: GS-PAUTH: Warning: possibly imprecise CFG, the analysis quality may be degraded in this function. According to BOLT, unreachable code is found in function good_jump_table
2626
// CHECK-NOT: good_jump_table
2727
paciasp
2828
cmp x16, #0x2
@@ -56,7 +56,7 @@ good_jump_table:
5656
.type jump_table_relaxed_adrp_add,@function
5757
jump_table_relaxed_adrp_add:
5858
// CHECK-NOT: jump_table_relaxed_adrp_add
59-
// CFG: GS-PAUTH: Warning: the function has unreachable basic blocks (possibly incomplete CFG) in function jump_table_relaxed_adrp_add
59+
// CFG: GS-PAUTH: Warning: possibly imprecise CFG, the analysis quality may be degraded in this function. According to BOLT, unreachable code is found in function jump_table_relaxed_adrp_add
6060
// CHECK-NOT: jump_table_relaxed_adrp_add
6161
paciasp
6262
cmp x16, #0x2
@@ -126,7 +126,7 @@ jump_table_wrong_hint:
126126
.type jump_table_unsafe_reg_1,@function
127127
jump_table_unsafe_reg_1:
128128
// CHECK-NOT: jump_table_unsafe_reg_1
129-
// CFG: GS-PAUTH: Warning: the function has unreachable basic blocks (possibly incomplete CFG) in function jump_table_unsafe_reg_1
129+
// CFG: GS-PAUTH: Warning: possibly imprecise CFG, the analysis quality may be degraded in this function. According to BOLT, unreachable code is found in function jump_table_unsafe_reg_1
130130
// CHECK-NOT: jump_table_unsafe_reg_1
131131
paciasp
132132
cmp x1, #0x2
@@ -157,7 +157,7 @@ jump_table_unsafe_reg_1:
157157
.type jump_table_unsafe_reg_2,@function
158158
jump_table_unsafe_reg_2:
159159
// CHECK-NOT: jump_table_unsafe_reg_2
160-
// CFG: GS-PAUTH: Warning: the function has unreachable basic blocks (possibly incomplete CFG) in function jump_table_unsafe_reg_2
160+
// CFG: GS-PAUTH: Warning: possibly imprecise CFG, the analysis quality may be degraded in this function. According to BOLT, unreachable code is found in function jump_table_unsafe_reg_2
161161
// CHECK-NOT: jump_table_unsafe_reg_2
162162
paciasp
163163
cmp x16, #0x2
@@ -189,7 +189,7 @@ jump_table_unsafe_reg_2:
189189
.type jump_table_wrong_limit,@function
190190
jump_table_wrong_limit:
191191
// CHECK-NOT: jump_table_wrong_limit
192-
// CFG: GS-PAUTH: Warning: the function has unreachable basic blocks (possibly incomplete CFG) in function jump_table_wrong_limit
192+
// CFG: GS-PAUTH: Warning: possibly imprecise CFG, the analysis quality may be degraded in this function. According to BOLT, unreachable code is found in function jump_table_wrong_limit
193193
// CHECK-NOT: jump_table_wrong_limit
194194
paciasp
195195
cmp x16, #0x1000
@@ -634,7 +634,7 @@ jump_table_wrong_imm_3:
634634
skip_cfi_instructions:
635635
.cfi_startproc
636636
// CHECK-NOT: skip_cfi_instructions
637-
// CFG: GS-PAUTH: Warning: the function has unreachable basic blocks (possibly incomplete CFG) in function skip_cfi_instructions
637+
// CFG: GS-PAUTH: Warning: possibly imprecise CFG, the analysis quality may be degraded in this function. According to BOLT, unreachable code is found in function skip_cfi_instructions
638638
// CHECK-NOT: skip_cfi_instructions
639639
paciasp
640640
cmp x16, #0x2

0 commit comments

Comments
 (0)