[llvm-commits] [llvm] r124454 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Kevin Enderby
enderby at apple.com
Thu Jan 27 15:22:36 PST 2011
Author: enderby
Date: Thu Jan 27 17:22:36 2011
New Revision: 124454
URL: http://llvm.org/viewvc/llvm-project?rev=124454&view=rev
Log:
Changed llvm-mc arm target to give an error if .syntax divided is used. Since
only .syntax unified is supported.
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=124454&r1=124453&r2=124454&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Thu Jan 27 17:22:36 2011
@@ -1481,7 +1481,7 @@
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");
More information about the llvm-commits
mailing list