summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-07-20 21:20:33 +0000
committerChad Rosier <mcrosier@apple.com>2012-07-20 21:20:33 +0000
commited94324e70729c651ae13801e0e04c601988c530 (patch)
treef9a6d38a99ab15407f96fbd78882a7903111b54d /clang/test
parent1f41bf0c3f44ac457b9c1da7fc0d18b7d35e8a6f (diff)
downloadbcm5719-llvm-ed94324e70729c651ae13801e0e04c601988c530.tar.gz
bcm5719-llvm-ed94324e70729c651ae13801e0e04c601988c530.zip
Add a new flag, -fms-inline-asm, that enables the output of MS-style inline
assembly. By default, we don't emit IR for MS-style inline assembly (see r158833 as to why). This is strictly for testing purposes and should not be enabled with the expectation that things will work. This is a temporary flag and will be removed once MS-style inline assembly is fully supported. llvm-svn: 160573
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/clang_f_opts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c
index b74b2855014..621026eeebe 100644
--- a/clang/test/Driver/clang_f_opts.c
+++ b/clang/test/Driver/clang_f_opts.c
@@ -35,3 +35,6 @@
// RUN: %clang -### -S -ffp-contract=off %s 2>&1 | FileCheck -check-prefix=FP-CONTRACT-OFF-CHECK %s
// FP-CONTRACT-FAST-CHECK: -ffp-contract=fast
// FP-CONTRACT-OFF-CHECK: -ffp-contract=off
+
+// RUN: %clang -fms-extensions -fms-inline-asm %s -### 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS3 %s
+// CHECK-OPTIONS3: -fms-inline-asm
OpenPOWER on IntegriCloud