commit | cbbae7f41d3f10316c17731b35c3aafd7db2d6be | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@apple.com> | Fri Sep 05 22:30:32 2014 +0000 |
committer | Akira Hatanaka <ahatanaka@apple.com> | Fri Sep 05 22:30:32 2014 +0000 |
tree | f1a52dfdc7395eafc19259537791fb9870d5f9cc | |
parent | 52af82df95e656434b89638bbd095cd4252b880e [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217288 91177308-0d34-0410-b5e6-96231b3b80d8