aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2011-01-27 23:22:36 +0000
committerKevin Enderby <enderby@apple.com>2011-01-27 23:22:36 +0000
commit9e56fb12c504c82c92947fe9c46287fc60116b91 (patch)
tree312c0ae1518427ab6c93df1825b063497b43951b /lib/Target/ARM
parent9b8c3530cca906727f573234c783cdbf2499373f (diff)
downloadexternal_llvm-9e56fb12c504c82c92947fe9c46287fc60116b91.zip
external_llvm-9e56fb12c504c82c92947fe9c46287fc60116b91.tar.gz
external_llvm-9e56fb12c504c82c92947fe9c46287fc60116b91.tar.bz2
Changed llvm-mc arm target to give an error if .syntax divided is used. Since
only .syntax unified is supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 018e17d..e40b846 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -1481,7 +1481,7 @@ bool ARMAsmParser::ParseDirectiveSyntax(SMLoc L) {
if (Mode == "unified" || Mode == "UNIFIED")
Parser.Lex();
else if (Mode == "divided" || Mode == "DIVIDED")
- Parser.Lex();
+ return Error(L, "'.syntax divided' arm asssembly not supported");
else
return Error(L, "unrecognized syntax mode in .syntax directive");