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

Devang Patel devang.patel at gmail.com
Thu Sep 24 12:44:46 PDT 2009


On Thu, Sep 24, 2009 at 10:52 AM, Mike Stump <mrs at apple.com> wrote:
> 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.

I thought there was some connection with runtime for these special
types. If not then ok.

>  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.

You're welcome to provide a patch!
-
Devang




More information about the llvm-commits mailing list