[PATCH] Fix CFI interpretation for locations on DW_CFA_*_loc boundaries

2018-11-01 Thread Milian Wolff
According to the DWARF v3 standard ยง6.4.3 3., all call frame instructions up to L1 <= L2 should be interpreted for an FDE. Elfutils currently only interprets L1 < L2, potentially missing some instructions when L1 directly points at a DW_CFA_*_loc boundary. This patch changes the behavior and makes

Re: [PATCH] Fix CFI interpretation for locations on DW_CFA_*_loc boundaries

2018-11-01 Thread Milian Wolff
Please ignore this patch for now - I only looked at one specific case where this changed the behavior to be in line with libunwind. Sadly, it breaks other previously working situations. I need to look at this in more detail. Cheers On Donnerstag, 1. November 2018 09:48:18 CET Milian Wolff wrote

Re: [PATCH] Fix CFI interpretation for locations on DW_CFA_*_loc boundaries

2018-11-01 Thread Milian Wolff
On Donnerstag, 1. November 2018 10:12:41 CET Milian Wolff wrote: > Please ignore this patch for now - I only looked at one specific case where > this changed the behavior to be in line with libunwind. Sadly, it breaks > other previously working situations. I need to look at this in more detail. Ye