[LLVMdev] question on the status of debugging symbols

Tobias Grosser grosser at fim.uni-passau.de
Mon Nov 29 08:26:43 PST 2010


On 11/24/2010 06:15 AM, Renato Golin wrote:
> On 23 November 2010 18:03, Bagel<bagel99 at gmail.com>  wrote:
>> Would someone be so kind as to tell me what the status of debugging symbols
>> (DWARF) generated by clang/llvm is?
>
> Hi Bagel,
>
> It should be fairly complete...

I believe their is a huge regression with gdb 7.2. Ubuntu 10.10 just 
switched to it and it seems I cannot use ">call function" in gdb to call 
many C++ functions compiled with clang. Most of the time I get:

"Cannot evaluate function -- may be inlined"

I did not try clang from today, but a couple of weeks ago this still 
failed and the corresponding bug report is not yet closed:

http://llvm.org/bugs/show_bug.cgi?id=8045

I believe I figured out what the problem was. I also created a reduced 
test case, but did not have the time to obtain the knowledge to fix it. 
Maybe someone with DWARF knowledge could have a look?

Tobi



More information about the llvm-dev mailing list