[PATCH] Stop crashing on empty asm input constraints

Duncan P. N. Exon Smith dexonsmith at apple.com
Sun Dec 15 16:43:37 PST 2013


This patch prevents clang from crashing on empty asm input constraints.

An empty string for an ASM input constraint is invalid, and will crash
during clang CodeGen.  Change TargetInfo::validateInputConstraint to
reject an empty string.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asm-crash-on-empty-input-constraint.patch
Type: application/octet-stream
Size: 1559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131215/356e5239/attachment.obj>


More information about the cfe-commits mailing list