forked from OSchip/llvm-project
Changed llvm-mc arm target to give an error if .syntax divided is used. Since
only .syntax unified is supported. llvm-svn: 124454
This commit is contained in:
parent
21d3fca917
commit
e9f2f0cb0b
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue