Created attachment 160455 [details] Remove Stack and Global Blocks from debuginfo handling. The VG_(di_get_stack_blocks_at_ip) and VG_(di_get_global_blocks_from_dihandle) functions were only used by the exp-sgcheck tool. Since this tool was removed a couple of years back this code hasn't been used or tested. Lets remove it to reduce the complexity of dealing with debuginfo.
I wrote this while trying to understand https://bugs.kde.org/show_bug.cgi?id=471807 This code confused me till I realized it isn't actually used (and was last changed in 2008). So I think it is best to just remove it so it doesn't confuse others.