blob: 6aab158987d7654a3602b4579ca576defe486028 [file] [log] [blame]
// RUN: %clang_cc1 -O2 -emit-llvm %s -o - | FileCheck %s --check-prefixes NOOPT
// RUN: %clang_cc1 -O2 -finline-max-stacksize=64 -emit-llvm %s -o - | FileCheck %s --check-prefix OPT
void foo() {}
// NOOPT-NOT: inline-max-stacksize
// OPT: define {{.*}}@foo{{.*}}#[[ATTR:[0-9]+]]
// OPT: attributes #[[ATTR]] = {{.*}}"inline-max-stacksize"="64"