This needs to contain the full map, generated by running FunctionSliceProfilePolicy over every function. Currently, its internal datastructure contains nothing; it needs to be filled in.
Part of the requirements for this datastructure is that it make it easy to query for identifier names without needing a lot of extra information (scope, function/file name, line number). Possibly, it could be made into a nested map (as the other version of srcslice currently does).
This needs to contain the full map, generated by running FunctionSliceProfilePolicy over every function. Currently, its internal datastructure contains nothing; it needs to be filled in.
Part of the requirements for this datastructure is that it make it easy to query for identifier names without needing a lot of extra information (scope, function/file name, line number). Possibly, it could be made into a nested map (as the other version of srcslice currently does).