mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
2003c0b073
- More informative message when extension name is not an identifier token. - Stop parsing directive if extension is unknown (avoid duplicate error messages). - Report unsupported extensions with a source location, rather than report_fatal_error. Differential Revision: https://reviews.llvm.org/D22806 llvm-svn: 276748
26 lines
759 B
ArmAsm
26 lines
759 B
ArmAsm
@ RUN: not llvm-mc -triple armv7--none-eabi -filetype asm -o /dev/null 2>&1 %s | FileCheck %s
|
|
|
|
.arch_extension os
|
|
CHECK: error: unsupported architectural extension: os
|
|
|
|
.arch_extension iwmmxt
|
|
CHECK: error: unsupported architectural extension: iwmmxt
|
|
|
|
.arch_extension iwmmxt2
|
|
CHECK: error: unsupported architectural extension: iwmmxt2
|
|
|
|
.arch_extension maverick
|
|
CHECK: error: unsupported architectural extension: maverick
|
|
|
|
.arch_extension xscale
|
|
CHECK: error: unsupported architectural extension: xscale
|
|
|
|
.arch_extension invalid_extension_name
|
|
CHECK: error: unknown architectural extension: invalid_extension_name
|
|
|
|
.arch_extension 42
|
|
CHECK: error: expected architecture extension name
|
|
|
|
.arch_extension
|
|
CHECK: error: expected architecture extension name
|