[Mesa-dev] [PATCH] gallium/util: fixup libunwind includes

Emil Velikov emil.l.velikov at gmail.com
Wed Apr 5 17:42:54 UTC 2017


On 5 April 2017 at 13:37, Rob Clark <robdclark at gmail.com> wrote:
> On Wed, Apr 5, 2017 at 8:25 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> From: Emil Velikov <emil.velikov at collabora.com>
>>
>> Honour the LIBUNWIND_CFLAGS and include the header only where needed.
>
> Please drop the part other than the Makefile.am hunk..
>
Ack, will push only the Makefile hunk.

> I'm about to need libunwind.h included in the header file.
>
A even better solution would be is to make struct debug_stack_frame
opaque and let debug_backtrace_capture() [mc]alloc in there.
This will allow you to keep all the platform specifics in a single file,

Will you be interested in trying that ?

-Emil


More information about the mesa-dev mailing list