From: Eli Friedman Date: Thu, 12 Apr 2018 22:50:50 +0000 (+0000) Subject: Fix test failure caused by r329965. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49db1e4ff2877e17447c49cc05a816d2c61c17f1;p=clang Fix test failure caused by r329965. "-mllvm" options get parsed slightly earlier, and -arm-restrict-it is only available if the ARM target is compiled in. Invoke "clang -cc1" directly to avoid the issue. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329968 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index 1b4f500742..104a8f3621 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -2652,7 +2652,7 @@ // Thumbebv7: #define __THUMB_INTERWORK__ 1 // Thumbebv7: #define __thumb2__ 1 -// RUN: %clang -E -dM -ffreestanding -target thumbv7-pc-mingw32 %s -o - | FileCheck -match-full-lines -check-prefix THUMB-MINGW %s +// RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-pc-windows-gnu -fdwarf-exceptions %s -o - | FileCheck -match-full-lines -check-prefix THUMB-MINGW %s // THUMB-MINGW:#define __ARM_DWARF_EH__ 1