]> granicus.if.org Git - clang/commitdiff
Fix test failure caused by r329965.
authorEli Friedman <efriedma@codeaurora.org>
Thu, 12 Apr 2018 22:50:50 +0000 (22:50 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Thu, 12 Apr 2018 22:50:50 +0000 (22:50 +0000)
"-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

test/Preprocessor/init.c

index 1b4f5007425556827aab2b4242297d74e456f526..104a8f3621a45a130710dd53fdfc591b3b90dbd2 100644 (file)
 // 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