[PATCH] Add a helpful assert if LineNo would clobber ArgNo
Keno Fischer
kfischer at college.harvard.edu
Sun Nov 9 13:34:02 PST 2014
Hi echristo,
Otherwise passing in an invalid line number on accident (e.g. -1)
would cause a hard-to-decipher assert later on. Better to catch this early.
http://reviews.llvm.org/D6186
Files:
lib/IR/DIBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6186.15962.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141109/91a0956b/attachment.bin>
More information about the llvm-commits
mailing list