Skip to content
Commit 8364b223 authored by Ruud Derwig's avatar Ruud Derwig
Browse files

Fix struct offsets (DWARF v2 compatibility)

For DWARF v2, DW_AT_data_member_location is encoded as a set of operations. The member_offset is in that case a list that starts with an operation (typically DW_OP_plus_uconst), so member_offset[0] is not the offset.

This solves the kernel/poll test (issue #7885)
parent 49f0dabf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment