Skip to contentSkip to conversation

pahole regression: -a no longer works?

DISCUSSION Arnaldo Carvalho de Melo 1 participant 1 message Jun 27, 2009

lore
Share & tools
lore
#0 lore raw

Em Thu, Jun 25, 2009 at 09:29:28PM -0400, Samuel Bronson escreveu:

Quoted 13 lines

I've just noticed that pahole's -a flag does not seem to result in typedef'd structs being printed anymore.

For example, with Debian's dwarves 1.3-1, on a self-compiled libVEX from valgrind, I see loads of typedef'd struct types like this one:

typedef struct {

        IRTypeEnv *                type_env;             /*     0     4 */
        HReg *                     vregmap;              /*     4     4 */
        Int                        n_vregmap;            /*     8     4 */
        HInstrArray *              code;                 /*    12     4 */
        Int                        vreg_ctr;             /*    16     4 */
Quoted 5 lines
        /* size: 20, cachelines: 1 */
        /* last cacheline: 20 bytes */
} ISelEnv;      /* definitions: 1 */

but in the latest, I get only the following three:

<SNIP>

Yeah, that is a regression, I'll fix it, till then just use "pdwtags", it will print all the tags, including the structs that have no name.

Quoted 4 lines

This should be pretty easy to reproduce, but if not I could provide you with an .o file... I'd bisect it myself if it weren't for the fact that libebl.a is no longer available on Debian squeeze/sid, which means I can't build without patching the cmake :-(

What about my suggestion to change the proposed patch to check if it is running on a debian system and if so to avoid checking for libebl?

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html