forked from OSchip/llvm-project
[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:
parent
be0da0fac2
commit
f46af9e9bc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue