<div dir="ltr">There's a bug about quiting on unsupported tags: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1348200">https://bugzilla.redhat.com/show_bug.cgi?id=1348200</a><br><br>Should be fixed in v1.10 <a href="http://pkgs.fedoraproject.org/cgit/rpms/dwarves.git/commit/?h=f25">http://pkgs.fedoraproject.org/cgit/rpms/dwarves.git/commit/?h=f25</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 5:57 PM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/31/2018 01:48 AM, Tapani Pälli wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Reviewed-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>><br>
<br>
(I verified the 1st one and I trust you on the 2nd one.)<br>
<br>
BTW I witnessed pahole crashing when processing visit() methods of ir_print_visitor class, did you experience that? My pahole version is 1.9, it dies in /lib64/libdwarves.so.1 after some prints like:<br>
<br>
--- 8< ---<br>
die__process_unit: DW_TAG_restrict_type (0x37) @ <0x122be84> not handled!<br>
die__process_unit: DW_TAG_unspecified_type (0x3b) @ <0x1230c68> not handled!<br>
die__process_unit: DW_TAG_restrict_type (0x37) @ <0x12312d3> not handled!<br>
die__process_unit: DW_TAG_unspecified_type (0x3b) @ <0x1231bc4> not handled!<br>
die__process_unit: DW_TAG_restrict_type (0x37) @ <0x12340bb> not handled!<br>
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x123f984> not handled!<br>
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x1242348> not handled!<br>
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x1242398> not handled!<br>
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x12423e8> not handled!<br>
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x1242572> not handled!<br>
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x12425c2> not handled!<br>
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x12425ea> not handled!<br>
die__process_function: DW_TAG_rvalue_reference_type (0x42) @ <0x1247929> not handled!<br>
</blockquote>
<br></span>
Me too. I have v1.9 as well and it crashes pretty quickly, for example:<br>
<br>
$ pahole build-llvmpipe/lib/gallium/lib<wbr>GL.so.1.5.0<br>
struct xm_driver {<br>
struct pipe_screen * (*create_pipe_screen)(Display *); /* 0 8 */<br>
struct st_api * (*create_st_api)(void); /* 8 8 */<br>
<br>
/* size: 16, cachelines: 1, members: 2 */<br>
/* last cacheline: 16 bytes */<br>
};<br>
struct sw_winsys {<br>
void (*destroy)(struct sw_winsys *); /* 0 8 */<br>
boolean (*is_displaytarget_format_supp<wbr>orted)(struct sw_winsys *, unsigned int, enum pipe_format); /* 8 8 */<br>
struct sw_displaytarget * (*displaytarget_create)(struct sw_winsys *, unsigned int, enum pipe_format, unsigned int, unsigned int, unsigned int, const void *, unsigned int *); /* 16 8 */<br>
struct sw_displaytarget * (*displaytarget_from_handle)(s<wbr>truct sw_winsys *, const struct pipe_resource *, struct winsys_handle *, unsigned int *); /* 24 8 */<br>
boolean (*displaytarget_get_handle)(st<wbr>ruct sw_winsys *, struct sw_displaytarget *, struct winsys_handle *); /* 32 8 */<br>
void * (*displaytarget_map)(struct sw_winsys *, struct sw_displaytarget *, unsigned int); /* 40 8 */<br>
void (*displaytarget_unmap)(struct sw_winsys *, struct sw_displaytarget *); /* 48 8 */<br>
void (*displaytarget_display)(stru<wbr>ct sw_winsys *, struct sw_displaytarget *, void *, struct pipe_box *); /* 56 8 */<br>
/* --- cacheline 1 boundary (64 bytes) --- */<br>
void (*displaytarget_destroy)(stru<wbr>ct sw_winsys *, struct sw_displaytarget *); /* 64 8 */<br>
<br>
/* size: 72, cachelines: 2, members: 9 */<br>
/* last cacheline: 8 bytes */<br>
};<br>
die__process_unit: DW_TAG_restrict_type (0x37) @ <0x3b09> not handled!<span class="HOEnZb"><font color="#888888"><br>
<br>
-Brian</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
On 31.01.2018 01:41, Dave Airlie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This month's Dave hasn't got enough sleep to do real work, lets<br>
repack some structs.<br>
<br>
The format descriptions one is quite good though it reduces the<br>
radv binary data segment.<br>
<br>
Dave.<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
<br>
</blockquote>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div>