On 12/1/22 00:36, Mark Wielaard wrote:
> Nice. I just synced elf.h.
Thanks a lot Mark! I will send a new patch sans the elf.h and will
add possible test(s) that can be related to it.
--
Shahab
Hi,
I am using pahole (which relies on libelf) to process an elf file ([0]):
LLVM_OBJCOPY="objcopy" pahole -J --btf_gen_floats --btf_base vmlinux
adl_pci9111.ko
This failed with:
die__process: DW_TAG_compile_unit, DW_TAG_type_unit, DW_TAG_partial_unit or
DW_TAG_skeleton_unit expected
Hi Hengqi,
On Thu, 2022-12-01 at 23:34 +0800, Hengqi Chen via Elfutils-devel
wrote:
> I am using pahole (which relies on libelf) to process an elf file
> ([0]):
>
> LLVM_OBJCOPY="objcopy" pahole -J --btf_gen_floats --btf_base
> vmlinux adl_pci9111.ko
>
> This failed with:
>
> die__proce
Awesome, thanks for looking over this. I only have one comment:
there's an extra "xlatefrom.d_size = xlatefrom.d_size;" line that
should be removed.
dwfl_elf_phdr_memory_callback is called from dwfl_link_map_report
but if any issues arise, those could be addressed in a separate patch.
Best,
Gavin
Hi Mark,
On 2022/12/1 23:54, Mark Wielaard wrote:
> Hi Hengqi,
>
> On Thu, 2022-12-01 at 23:34 +0800, Hengqi Chen via Elfutils-devel
> wrote:
>> I am using pahole (which relies on libelf) to process an elf file
>> ([0]):
>>
>> LLVM_OBJCOPY="objcopy" pahole -J --btf_gen_floats --btf_base
>> vm