Skip to content
Commit 489decec authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[inline asm] Add a check in InlineAsm::ConstraintInfo::Parse to make sure '{'

follows '~' in a clobber constraint string.

Previously llc would hit an llvm_unreachable when compiling an inline-asm
instruction with malformed constraint string "~x{21}". This commit enables
LLParser to catch the error earlier and print a more helpful diagnostic.

rdar://problem/14206559

llvm-svn: 217288
parent cefdbdf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment