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:
e14a3c5
)
AsmParser: Give a nice error message for .code16gcc, which is currently unsupported.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 12 May 2012 11:19:04 +0000
(11:19 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 12 May 2012 11:19:04 +0000
(11:19 +0000)
Patch by Team PaX!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156708
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCParser/AsmParser.cpp
b/lib/MC/MCParser/AsmParser.cpp
index 80e101f748bcdd05da1f35118a94293ef07f35c1..8ac0fd244c0b3ca3311c461450282ccf7222ee36 100644
(file)
--- a/
lib/MC/MCParser/AsmParser.cpp
+++ b/
lib/MC/MCParser/AsmParser.cpp
@@
-1257,7
+1257,7
@@
bool AsmParser::ParseStatement() {
if (IDVal == ".incbin")
return ParseDirectiveIncbin();
- if (IDVal == ".code16")
+ if (IDVal == ".code16"
|| IDVal == ".code16gcc"
)
return TokError(Twine(IDVal) + " not supported yet");
// Look up the handler in the handler table.