[llvm-commits] [llvm] r82591 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Chris Lattner
clattner at apple.com
Wed Sep 23 22:12:49 PDT 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