diff options
author | Martin Storsjo <martin@martin.st> | 2017-11-17 08:06:49 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2017-11-17 08:06:49 +0000 |
commit | fb2fbcc95291e95c593f9e5d5712a3fdd82c186a (patch) | |
tree | 13f2a5a24f91728628bae7557320ce7b96683d3d /test/Preprocessor | |
parent | 834733e54cabb791fbde1d7cd0731a11baeb8824 (diff) |
[MinGW] Define __ARM_DWARF_EH__ for MinGW/ARM
Since SVN r318510, the MinGW/ARM configuration defaults to
dwarf exception handling.
Differential Revision: https://reviews.llvm.org/D39533
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor')
-rw-r--r-- | test/Preprocessor/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index 87a591923b..f508c9e1aa 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -2645,6 +2645,10 @@ // 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 + +// THUMB-MINGW:#define __ARM_DWARF_EH__ 1 + // // RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-none-none < /dev/null | FileCheck -match-full-lines -check-prefix I386 %s // |