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

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: Test for -malign-double 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..17b2a0dfeca3b2302e3c00269ffc81e52d8a7895
--- /dev/null
+++ b/test/Driver/malign-double.c
@@ -0,0 +1,7 @@
+// RUN: %clang -### -c -save-temps -malign-double %s \
Derek Schuff 2015/09/03 17:22:05 do we actually need -save-temps in the RUN line?
Petr Hosek 2015/09/03 20:44:02 We don't, removed.
+// RUN: -target i686-unknown-nacl 2>&1 \
Derek Schuff 2015/09/03 17:22:05 do we actually need to capture stderr too?
Petr Hosek 2015/09/03 20:44:02 We do because clang prints the command being run i
+// RUN: | FileCheck %s
+
+// CHECK: -cc1
+// CHECK: +align-double
+// CHECK: "-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