[LLVMdev] New debugging APIs

Talin viridia at gmail.com
Sun Nov 29 09:12:13 PST 2009


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? Or is the new 
API simply not ready yet?

-- Talin




More information about the llvm-dev mailing list