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: %clang %cflags %p/../Inputs/stub.c -fPIC -pie -shared -o %t.so 5RUN: %clangxx %cxxflags -no-pie %p/Inputs/exc_args.s -o %t %t.so -Wl,-z,notext 6RUN: llvm-bolt %t -o %t.null --print-finalized --print-only=main | FileCheck %s 7 8CHECK: Binary Function "main" after finalize-functions 9CHECK: callq _Z3fooiiiiiiii {{.*}} GNU_args_size = 16 10CHECK: callq printf@PLT {{.*}} GNU_args_size = 0 11CHECK: End of Function "main" 12