2021-10-09 09:23:32 +08:00
|
|
|
# Check that a function that references a label inside itself,
|
|
|
|
# as in the case of vararg handling code generated by GCC 4.5
|
|
|
|
# and earlier, is recognized as multi-entry.
|
|
|
|
|
|
|
|
REQUIRES: x86_64-linux
|
|
|
|
|
2021-10-30 04:31:22 +08:00
|
|
|
RUN: %clangxx %p/../Inputs/vararg.s -o %t -Wl,-q
|
2021-10-09 09:23:32 +08:00
|
|
|
RUN: llvm-bolt %t -o /dev/null -print-cfg -print-only=.*printf.* |& FileCheck %s
|
|
|
|
|
|
|
|
CHECK: IsSimple : 0
|
|
|
|
CHECK: Entry Point
|
|
|
|
CHECK: Entry Point
|