diff options
| author | Martin Storsjo <martin@martin.st> | 2018-03-23 09:10:03 +0000 |
|---|---|---|
| committer | Martin Storsjo <martin@martin.st> | 2018-03-23 09:10:03 +0000 |
| commit | e1a64fe95cfbe925da52f512fb3f4b2011716edb (patch) | |
| tree | 90f6eaeb9c75d92b655fb61b3b96190e2cfd5a5c /llvm/test | |
| parent | db75aa96d33221938f503f30ec82a0bb76398669 (diff) | |
| download | bcm5719-llvm-e1a64fe95cfbe925da52f512fb3f4b2011716edb.tar.gz bcm5719-llvm-e1a64fe95cfbe925da52f512fb3f4b2011716edb.zip | |
[ARM] Error out on .arm assembler directives on windows
Windows on arm is thumb only.
Differential Revision: https://reviews.llvm.org/D43005
llvm-svn: 328298
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/ARM/arm-thumb-cpus.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/arm-thumb-cpus.s b/llvm/test/MC/ARM/arm-thumb-cpus.s index 459b5c5fe00..7319f136347 100644 --- a/llvm/test/MC/ARM/arm-thumb-cpus.s +++ b/llvm/test/MC/ARM/arm-thumb-cpus.s @@ -19,6 +19,9 @@ @ RUN: not llvm-mc -show-encoding -triple=armv6sm-eabi < %s 2>&1 \ @ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY +@ RUN: not llvm-mc -show-encoding -triple=thumbv7-win32-gnu < %s 2>&1 \ +@ RUN: | FileCheck %s --check-prefix=CHECK-THUMB-ONLY + @ Make sure correct diagnostics are given for CPUs without support for @ one or other of the execution states. .thumb |

