13 lines · plain
1## Check that a function that references a label inside itself,2## as in the case of vararg handling code generated by GCC 4.53## and earlier, is recognized as multi-entry.4 5REQUIRES: x86_64-linux6 7RUN: %clangxx %cxxflags -no-pie %p/../Inputs/vararg.s -o %t -Wl,-q8RUN: llvm-bolt %t -o %t.null --print-cfg --print-only=.*printf.* 2>&1 | FileCheck %s9 10CHECK: IsSimple : 011CHECK: Entry Point12CHECK: Entry Point13