Re: [PATCH] Don't skip CodeView data for partially cold functions

2024-11-23 Thread Jeff Law
On 11/12/24 5:57 PM, Mark Harmstone wrote: If a function is contained in two sections, for instance if it is partially cold, it gets a DW_AT_ranges attribute in its DIE rather than the normal DW_AT_low_pc and DW_AT_high_pc. There's no way to express this in CodeView, so rather than skipping t

[PATCH] Don't skip CodeView data for partially cold functions

2024-11-12 Thread Mark Harmstone
If a function is contained in two sections, for instance if it is partially cold, it gets a DW_AT_ranges attribute in its DIE rather than the normal DW_AT_low_pc and DW_AT_high_pc. There's no way to express this in CodeView, so rather than skipping the function entirely, use the labels in the firs