| Summary: | Remove Stack and Global Blocks from debuginfo handling. | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
| Component: | sgcheck | Assignee: | Mark Wielaard <mark> |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | amerey |
| Priority: | NOR | ||
| Version First Reported In: | 3.21.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Remove Stack and Global Blocks from debuginfo handling. | ||
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. |
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.