r260537 - Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows"

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 11 08:43:08 PST 2016


Author: chapuni
Date: Thu Feb 11 10:43:08 2016
New Revision: 260537

URL: http://llvm.org/viewvc/llvm-project?rev=260537&view=rev
Log:
Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows"

It doesn't work, at least, i686-win32.

Modified:
    cfe/trunk/test/Frontend/plugins.c
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/Frontend/plugins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/plugins.c?rev=260537&r1=260536&r2=260537&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/plugins.c (original)
+++ cfe/trunk/test/Frontend/plugins.c Thu Feb 11 10:43:08 2016
@@ -1,5 +1,4 @@
 // RUN: %clang_cc1 -load %llvmshlibdir/PrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s
-// RUN: %clang_cl -c -Xclang -load -Xclang %llvmshlibdir/PrintFunctionNames%pluginext -Xclang -plugin -Xclang print-fns -Tc %s 2>&1 | FileCheck %s
 // REQUIRES: plugins, examples
 
 // CHECK: top-level-decl: "x"

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=260537&r1=260536&r2=260537&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Thu Feb 11 10:43:08 2016
@@ -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 ['cygwin']:
+if sys.platform in ['win32', 'cygwin']:
     has_plugins = (config.enable_shared == 1)
 else:
     has_plugins = True




More information about the cfe-commits mailing list