Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1872)

Unified Diff: test/Driver/malign-double.c

Issue 1310173005: Support -malign-double option (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-clang.git@master
Patch Set: Code review feedback Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Driver/Tools.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Driver/malign-double.c
diff --git a/test/Driver/malign-double.c b/test/Driver/malign-double.c
new file mode 100644
index 0000000000000000000000000000000000000000..81c087909223042c62a80c8793730ebb56791243
--- /dev/null
+++ b/test/Driver/malign-double.c
@@ -0,0 +1,13 @@
+// RUN: %clang -### -c -malign-double %s -target i686-unknown-linux 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-I686 %s
+
+// CHECK-I686: -cc1
+// CHECK-I686: +align-double
+// CHECK-I686: "-mllvm" "-malign-double"
+
+// RUN: %clang -### -c -malign-double %s -target x86-64-unknown-linux 2>&1 \
+// RUN: | FileCheck -check-prefix=CHECK-X86_64 %s
+
+// CHECK-X86_64: -cc1
+// CHECK-X86_64-NOT: +align-double
+// CHECK-X86_64-NOT: "-mllvm" "-malign-double"
« no previous file with comments | « lib/Driver/Tools.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698