Our hack for producing nicer listing modes was to write the mark name in
component index 1. That's fine for process.mark, but writes the wrong
position for process.library.mark. It now munges the last probe
component of any number of indexes.
(A better fix is due in PR10831, preserving the derivation chain.)
{
// restore the locations to print a nicer probe name
probe_point loc(*base_loc);
- loc.components[1] =
+ loc.components.back() =
new probe_point::component(TOK_MARK, new literal_string (probe_name));
for (; i < results.size(); ++i)
for (unsigned j = 0; j < results[i]->locations.size(); ++j)