On Mon, Sep 14, 2009 at 12:44 PM, Kamil Dudka <kdudka@xxxxxxxxxx> wrote: > It sounds like a tough challenge to me :-) > > I am playing with the SPARSE API now. Any chance to pass in a unique ID > to each symbol? (as equivalent to DECL_UID from <gcc/tree.h>) I can of course > manage an ptr/ID mapping at application level. I am only curious if this is Can you clarify why do you need to use the UID instead of the pointer of symbol? One reason I can see is that if you want to dump the AST tree into objects on disk. Other application can read it back and load into memory. If the symbol already exist in the memory, you should be able to use pointer directly. BTW, I have code to dump most of the struct into disk already. I think I send to the list before. Of course I can create a branch for it. Reading is not completed yet. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html