[llvm-commits] [llvm] r94491 - /llvm/trunk/lib/Analysis/DebugInfo.cpp

Victor Hernandez vhernandez at apple.com
Tue Jan 26 10:16:00 PST 2010


No, the verifier allows metadata operands to be null, since metadata's weak references allow their operands to go away during optimization.

Plus these asserts are just for debugging bad calls to these functions, making it clear which value is busted, instead of deep inside the CallInst::Create() call.

Victor

On Jan 26, 2010, at 12:43 AM, Duncan Sands wrote:

> Hi Victor,
> 
>> Assert when debug intrinsic insert functions are passed empty arguments
> 
> does the verifier check this?
> 
> Ciao,
> 
> Duncan.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100126/ad38a67d/attachment.html>


More information about the llvm-commits mailing list