Clang Project

clang_source_code/test/CodeGen/stackrealign.c
1// RUN: %clang_cc1 %s -emit-llvm -o - -mstackrealign | FileCheck %s -check-prefix=REALIGN
2// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NO-REALIGN
3
4// REALIGN: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"
5// NO-REALIGN-NOT: attributes #{{[0-9]+}} = {{{.*}} "stackrealign"
6
7void test1() {
8}
9