<div dir="ltr">The attached patch adds a check to InlineAsm::ConstraintInfo::Parse which checks that '{' immediately follows '~' in the inline assembly clobber constraint. This enables catching the error in the test case earlier by LLParser and printing a more helpful diagnostic, rather than terminating when an llvm_unreachable is triggered.<div>
<br></div><div>This patch fixes rdar://problem/14206559.<br></div><div><br></div></div>