Re: dwfl_module_addrdie fails for binaries built with clang++

2017-05-08 Thread Mark Wielaard
On Sat, 2017-05-06 at 13:30 +0200, Milian Wolff wrote: > On Freitag, 5. Mai 2017 15:06:48 CEST Mark Wielaard wrote: > > On Thu, 2017-05-04 at 18:05 +0200, Milian Wolff wrote: > > > I noticed that elfutils fails to handle clang binaries when we want to > > > find a DIE for a certain address. I.e. dw

Re: dwfl_module_addrdie fails for binaries built with clang++

2017-05-06 Thread Milian Wolff
On Freitag, 5. Mai 2017 15:06:48 CEST Mark Wielaard wrote: > Hi Milian, > > On Thu, 2017-05-04 at 18:05 +0200, Milian Wolff wrote: > > I noticed that elfutils fails to handle clang binaries when we want to > > find a DIE for a certain address. I.e. dwfl_module_addrdie returns > > nullptr, and eu-

Re: dwfl_module_addrdie fails for binaries built with clang++

2017-05-05 Thread Mark Wielaard
Hi Milian, On Thu, 2017-05-04 at 18:05 +0200, Milian Wolff wrote: > I noticed that elfutils fails to handle clang binaries when we want to find a > DIE for a certain address. I.e. dwfl_module_addrdie returns nullptr, and eu- > addr2line fails to resolve inlined frames. > > To reproduce this: >[

dwfl_module_addrdie fails for binaries built with clang++

2017-05-04 Thread Milian Wolff
Hey all, I noticed that elfutils fails to handle clang binaries when we want to find a DIE for a certain address. I.e. dwfl_module_addrdie returns nullptr, and eu- addr2line fails to resolve inlined frames. To reproduce this: ~~~ $ cat test.cpp #include #include #include using name