[BOLT][TESTS] Fix ICF test case

Summary:
Host compiler may generate duplicate functions and as a result BOLT can
fold more than 1 function.

(cherry picked from FBD29347302)
This commit is contained in:
Maksim Panchenko 2021-06-23 16:13:30 -07:00
parent be0da0fac2
commit f46af9e9bc
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
# RUN: llvm-bolt %t.exe -icf -o %t.bolt |& FileCheck %s
## Check that BOLT successfully folded a function with jump table:
# CHECK: ICF folded 1
# CHECK: ICF folded {{.*}}. {{[^0]}} functions had jump tables.
## Check that no relocations against undefined symbols were emitted:
# CHECK-NOT: Undefined temporary symbol