[LLVMdev] Dwarf info and .debug_pubnames section

Pranav Bhandarkar pranavb at codeaurora.org
Thu Mar 8 20:37:22 PST 2012


Hi Eric,

> Nope, it's removed completely. No debugger that I know of uses it at
> all and it's
> useless for many reasons. Adding the code back in to generate it is
> possible (it's
> a fairly small commit that's easily reverted), but I see no reason to
> have it generated
> by default. What are you doing that involves looking for global
> variables in the pubnames
> section?
>

Thanks for the information. After I sent out the email, I saw the patch you
reverted on viewVC. I have some proprietary code that looks at the debug
info in an executable using libdwarf; It queries the debug info on demand
with a variable name and uses dwarf_get_globals which, I believe, uses
.debug_pubnames.

I believe you made only one change to take out support for this section,
right ? I will revert that change and give it a go.

Thanks,
Pranav
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
 




More information about the llvm-dev mailing list