summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2016-02-09 19:43:13 +0000
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2016-02-09 19:43:13 +0000
commitbce41007c954eafd1d2fdcecbf4cc007697901e7 (patch)
tree10d8e3c1d8a1c654d0e1a017a1efefe0dd230f17
parentae1cd1e7c301954bab703e9116a30b330902d43a (diff)
clang-cl: Enable plugins on Windows
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260266 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Frontend/plugins.c1
-rw-r--r--test/lit.cfg2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/Frontend/plugins.c b/test/Frontend/plugins.c
index 8117f72fa7..ab5d62338e 100644
--- a/test/Frontend/plugins.c
+++ b/test/Frontend/plugins.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -load %llvmshlibdir/PrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s
+// RUN: %clang_cl -Xclang -load -Xclang %llvmshlibdir/PrintFunctionNames%pluginext -Xclang -plugin -Xclang print-fns %s 2>&1 | FileCheck %s
// REQUIRES: plugins, examples
// CHECK: top-level-decl: "x"
diff --git a/test/lit.cfg b/test/lit.cfg
index e216634268..dddab3ec89 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -196,7 +196,7 @@ if not lit_config.quiet:
# Plugins (loadable modules)
# TODO: This should be supplied by Makefile or autoconf.
-if sys.platform in ['win32', 'cygwin']:
+if sys.platform in ['cygwin']:
has_plugins = (config.enable_shared == 1)
else:
has_plugins = True