Re: [PATCH] stacktrace: Init elf_fd in sysprof_init_dwfl

2024-10-25 Thread Aaron Merey
On Thu, Oct 24, 2024 at 5:08 AM Mark Wielaard wrote: > > When building with LTO gcc believes elf_fd can be used uninitialized: > > In function ‘sysprof_init_dwfl’, > inlined from ‘sysprof_unwind_cb’ at stacktrace.c:1235:16: > stacktrace.c:1087:7: error: ‘elf_fd’ may be used uninitialized > [-

Re: [PATCH] stacktrace: Init elf_fd in sysprof_init_dwfl

2024-10-24 Thread Mark Wielaard
Hi Aaron, On Thu, 2024-10-24 at 10:22 -0400, Aaron Merey wrote: > On Thu, Oct 24, 2024 at 5:08 AM Mark Wielaard wrote: > > > > When building with LTO gcc believes elf_fd can be used uninitialized: > > LGTM Thanks, pushed. Cheers, Mark