diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2016-02-09 19:43:13 +0000 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2016-02-09 19:43:13 +0000 |
commit | bce41007c954eafd1d2fdcecbf4cc007697901e7 (patch) | |
tree | 10d8e3c1d8a1c654d0e1a017a1efefe0dd230f17 | |
parent | ae1cd1e7c301954bab703e9116a30b330902d43a (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.c | 1 | ||||
-rw-r--r-- | test/lit.cfg | 2 |
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 |