1# Check that we handle GNU_args_size correctly. 2# It is generated for throwing functions with LP that have parameters on stack. 3 4RUN: %clangxx %cxxflags %p/Inputs/exc_args.s -o %t 5RUN: llvm-bolt %t -o /dev/null -print-finalized -print-only=main | FileCheck %s 6 7CHECK: Binary Function "main" after finalize-functions 8CHECK: callq _Z3fooiiiiiiii {{.*}} GNU_args_size = 16 9CHECK: callq printf@PLT {{.*}} GNU_args_size = 0 10CHECK: End of Function "main" 11