diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-04-12 22:50:50 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-04-12 22:50:50 +0000 |
commit | 29fd52da509c7398f58260a83f8ce21decf03756 (patch) | |
tree | bdefd46079140bd516d3f1dc012ede021bac0e43 /clang | |
parent | 6551d405dcca11d9db1257d64e8d9ab21aeae827 (diff) | |
download | bcm5719-llvm-29fd52da509c7398f58260a83f8ce21decf03756.tar.gz bcm5719-llvm-29fd52da509c7398f58260a83f8ce21decf03756.zip |
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.
llvm-svn: 329968
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/Preprocessor/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c index 1b4f5007425..104a8f3621a 100644 --- a/clang/test/Preprocessor/init.c +++ b/clang/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 |