From 222e2a7620e6520ffaf4fc4e69d79c18da31542e Mon Sep 17 00:00:00 2001 From: "Zancanaro; Carlo" Date: Mon, 24 Sep 2012 09:58:17 +1000 Subject: Add the clang library to the repo (with some of my changes, too). --- clang/test/Driver/stackrealign.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 clang/test/Driver/stackrealign.c (limited to 'clang/test/Driver/stackrealign.c') diff --git a/clang/test/Driver/stackrealign.c b/clang/test/Driver/stackrealign.c new file mode 100644 index 0000000..c5221d6 --- /dev/null +++ b/clang/test/Driver/stackrealign.c @@ -0,0 +1,12 @@ +// RUN: %clang -### %s 2>&1 | FileCheck %s -check-prefix=NORMAL +// NORMAL-NOT: -force-align-stack +// NORMAL: -mstackrealign + +// 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 -- cgit v1.2.3