From: Chandler Carruth Date: Fri, 13 Jan 2017 02:47:34 +0000 (+0000) Subject: Another fix for r291850 because there are apparently targets which add X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0acac5f783951ee9c04ac24d8228305bed7dda21;p=clang Another fix for r291850 because there are apparently targets which add "-mllvm" flags to the CC1 invocation (notably, Hexagon seems to hit this). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291881 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/disable-llvm.c b/test/Driver/disable-llvm.c index 24befbd3e5..3ac6b9e919 100644 --- a/test/Driver/disable-llvm.c +++ b/test/Driver/disable-llvm.c @@ -2,8 +2,8 @@ // RUN: %clang -O2 -Xclang -disable-llvm-passes -### %s 2>&1 \ // RUN: | FileCheck --check-prefix=DISABLED %s // DISABLED: -cc1 -// DISABLED-NOT: -mllvm -// DISABLED: -disable-llvm-passes +// DISABLED-NOT: "-mllvm" "-disable-llvm-passes" +// DISABLED: "-disable-llvm-passes" // // We also support two alternative spellings for historical reasons. // RUN: %clang -O2 -Xclang -disable-llvm-optzns -### %s 2>&1 \ @@ -11,8 +11,8 @@ // RUN: %clang -O2 -mllvm -disable-llvm-optzns -### %s 2>&1 \ // RUN: | FileCheck --check-prefix=DISABLED-LEGACY %s // DISABLED-LEGACY: -cc1 -// DISABLED-LEGACY-NOT: -mllvm -// DISABLED-LEGACY: -disable-llvm-optzns +// DISABLED-LEGACY-NOT: "-mllvm" "-disable-llvm-optzns" +// DISABLED-LEGACY: "-disable-llvm-optzns" // // The main flag shouldn't be specially handled when used with '-mllvm'. // RUN: %clang -O2 -mllvm -disable-llvm-passes -### %s 2>&1 | FileCheck --check-prefix=MLLVM %s