[LLVMdev] New debugging APIs

Devang Patel devang.patel at gmail.com
Mon Nov 30 10:01:55 PST 2009


On Mon, Nov 30, 2009 at 10:01 AM, Devang Patel <devang.patel at gmail.com> wrote:
> On Sun, Nov 29, 2009 at 9:12 AM, Talin <viridia at gmail.com> wrote:
>> Talin wrote:
>>> I'm attempting to get my compiler to use the new APIs for source-level
>>> debugging via SetCurrentDebugLocation(). I'm getting a lot of "duplicate
>>> symbol" errors in my generated assembly code:
>>>
>>> ReflectionTest.s:348: Error: symbol `.Lfunc_end6' is already defined
>>> ReflectionTest.s:372: Error: symbol `.Lfunc_end6' is already defined
>>> ReflectionTest.s:395: Error: symbol `.Lfunc_end6' is already defined
>>> ReflectionTest.s:421: Error: symbol `.Lfunc_end6' is already defined
>>> ReflectionTest.s:443: Error: symbol `.Lfunc_end6' is already defined
>>> ReflectionTest.s:458: Error: symbol `.Lfunc_end6' is already defined
>>> (and so on...)
>>>
>>>
>>> This is with the head revision of LLVM as of last night.
>>>
>>>
>> Any additional information I can give to help solve this?
>
> Yes, please file bugzilla PR with a reproducible test case. Thanks!

Here you can attach llvm bitcode file generated by your FE.

>
>> Or is the new
>> API simply not ready yet?
>
> It is, AFAIK.
>
> -
> Devang
>



-- 
-
Devang



More information about the llvm-dev mailing list