projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8c353
)
Changed llvm-mc arm target to give an error if .syntax divided is used. Since
author
Kevin Enderby
<enderby@apple.com>
Thu, 27 Jan 2011 23:22:36 +0000
(23:22 +0000)
committer
Kevin Enderby
<enderby@apple.com>
Thu, 27 Jan 2011 23:22:36 +0000
(23:22 +0000)
only .syntax unified is supported.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124454
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 018e17d032f675efeab15c68f75c30e9f00440f4..e40b8463e8bd77fd4fc23fc303ac5c9456243a9b 100644
(file)
--- 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");