[patch] Make it explicit that nulls are not allowed in names

Chris Lattner clattner at apple.com
Wed Nov 13 21:21:25 PST 2013


On Nov 13, 2013, at 7:46 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:

> The object files we support use null terminated strings, so there is
> no way to support these.
> 
> This patch adds an assert to catch bad API use and an error check in
> the .ll parser.

I think this would be better as part of the IR Verifier than in setName(), but the idea is sensible.

-Chris



More information about the llvm-commits mailing list