]> granicus.if.org Git - clang/commitdiff
Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows"
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 11 Feb 2016 16:43:08 +0000 (16:43 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 11 Feb 2016 16:43:08 +0000 (16:43 +0000)
It doesn't work, at least, i686-win32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260537 91177308-0d34-0410-b5e6-96231b3b80d8

test/Frontend/plugins.c
test/lit.cfg

index cd3717cd2d58c2ece89f30925462e70a45974043..8117f72fa7ad2bf41238bfa3af4da3e4d46593c5 100644 (file)
@@ -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"
index dddab3ec89516de1ee440b4951369fb3b66197c4..e2166342685f2633f5476175e9ecaf914b55de37 100644 (file)
@@ -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