[llvm-commits] [llvm] r82591 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Chris Lattner clattner at apple.com
Thu Sep 24 00:12:49 CDT 2009


On Sep 23, 2009, at 5:40 PM, Devang Patel wrote:

>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Sep 22  
>> 19:13:30 2009
>> @@ -662,9 +662,6 @@
>>   std::string typeName;
>>   blockStruct.getName(typeName);
>>
>> -  assert(typeName.find ("__Block_byref_") == 0
>> -         && "Attempting to get Block location of non-Block  
>> variable!");
>> -
>
> Why ? Pl. explain.

Why is an assertion against the name of the type valid in any case?

-Chris



More information about the llvm-commits mailing list