Re: [PATCH] perf dso: Fix build when libunwind is enabled
From: Leo Yan
Date: Wed Jul 17 2024 - 15:46:10 EST
On 7/15/2024 10:47 AM, James Clark wrote:
>
> Now that symsrc_filename is always accessed through an accessor, we also
> need a free() function for it to avoid the following compilation error:
>
> util/unwind-libunwind-local.c:416:12: error: lvalue required as unary
> ‘&’ operand
> 416 | zfree(&dso__symsrc_filename(dso));
>
> Fixes: 1553419c3c10 ("perf dso: Fix address sanitizer build")
> Signed-off-by: James Clark <james.clark@xxxxxxxxxx>
Tested-by: Leo Yan <leo.yan@xxxxxxx>