diff options
Diffstat (limited to 'test/Driver/stackrealign.c')
-rw-r--r-- | test/Driver/stackrealign.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/test/Driver/stackrealign.c b/test/Driver/stackrealign.c index c5221d6..217be7a 100644 --- a/test/Driver/stackrealign.c +++ b/test/Driver/stackrealign.c @@ -1,12 +1,7 @@ -// RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=NORMAL -// NORMAL-NOT: -force-align-stack -// NORMAL: -mstackrealign +// RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=NO-REALIGN +// RUN: %clang -### -mno-stackrealign -mstackrealign %s 2>&1 | FileCheck %s -check-prefix=REALIGN +// RUN: %clang -### -mstackrealign -mno-stackrealign %s 2>&1 | FileCheck %s -check-prefix=NO-REALIGN +// REQUIRES: clang-driver -// RUN: %clang -### -mstackrealign %s 2>&1 | FileCheck %s -check-prefix=MREALIGN -// MREALIGN: -force-align-stack -// MREALIGN: -mstackrealign - -// RUN: %clang -### -mno-stackrealign %s 2>&1 | \ -// RUN: FileCheck %s -check-prefix=MNOREALIGN -// MNOREALIGN-NOT: -force-align-stack -// MNOREALIGN-NOT: -mstackrealign +// REALIGN: -mstackrealign +// NO-REALIGN-NOT: -mstackrealign |