On Tue, Sep 12, 2017 at 5:54 PM, Dibyendu Majumdar <mobile@xxxxxxxxxxxxxxx> wrote: > > I think that there is no easy way to identify all the symbols used for > which stack space is needed and do the allocas at the start - is > there? I mean the only way is to go through all the instructions to > find these references as far as I know. Have you try the sym->symbol_list for the function node? It should contain all the symbol used in that function. I can even see that symbol_list under test-inspect. under [SYM_NODE: [ ctype.base_type: SYM_FN] [ symbol_list: symbol_list, ... <============== here. ] ] It has other label symbol as well. You should be able to filter out those pretty easily. 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