Re: [PATCH 14/14] segment_report_module: Inline consider_phdr() into only caller

2020-11-13 Thread Navin P via Elfutils-devel
On Fri, Nov 13, 2020, 13:11 Timm Bäder wrote: > On 12/11/2020 17:52, Navin P wrote: > > Hi, > > I already have a patch that makes elfutils compile with clang. Since > > you are working > > this will be of use to you. I've attached the patch since it is big. > > > > Here are some of the change

Re: [PATCH 14/14] segment_report_module: Inline consider_phdr() into only caller

2020-11-12 Thread Timm Bäder via Elfutils-devel
On 12/11/2020 17:52, Navin P wrote: Hi, I already have a patch that makes elfutils compile with clang. Since you are working this will be of use to you. I've attached the patch since it is big. Here are some of the changes 1. All functions at file scope have static qualifier so that no col

[PATCH 14/14] segment_report_module: Inline consider_phdr() into only caller

2020-11-12 Thread Timm Bäder via Elfutils-devel
Get rid of the nested function this way Signed-off-by: Timm Bäder --- libdwfl/dwfl_segment_report_module.c | 142 +-- 1 file changed, 66 insertions(+), 76 deletions(-) diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c index 0679453