From: Ehsan Akhgari Date: Tue, 9 Feb 2016 19:43:13 +0000 (+0000) Subject: clang-cl: Enable plugins on Windows X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bce41007c954eafd1d2fdcecbf4cc007697901e7;p=clang clang-cl: Enable plugins on Windows git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260266 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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