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

Mike Stump mrs at apple.com
Thu Sep 24 10:52:19 PDT 2009


On Sep 23, 2009, at 5:40 PM, Devang Patel wrote:
> On Tue, Sep 22, 2009 at 5:13 PM, Mike Stump <mrs at apple.com> wrote:
>>
>> -  assert(typeName.find ("__Block_byref_") == 0
>> -         && "Attempting to get Block location of non-Block  
>> variable!");
>
> Why ? Pl. explain.

The name is but an implementation detail of a compiler.  It is wrong  
for that detail to slosh between a specific compiler (llvm-gcc) and  
llvm.  clang is implemented differently and needs to reuse this code  
for __block debug information as llvm doesn't yet expose a decent way  
to do this.



More information about the llvm-commits mailing list