Re: [PATCH] scripts/decode_stacktrace.sh: Use LLVM environment variable

From: Justin Stitt
Date: Tue Dec 19 2023 - 16:12:58 EST


On Tue, Dec 19, 2023 at 8:49 AM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> On Mon, Dec 18, 2023 at 4:17 PM Justin Stitt <justinstitt@xxxxxxxxxx> wrote:
> >
> > Interestingly, I am getting good stack traces on mainline with a
> > LLVM-built kernel -- both with and without that patch.
>
> Probably because:
> 1. you have GNU binutils installed.
> 2. you're not testing .o files from an LTO build (which GNU binutils
> cannot decode).
>

Yes, and yes. Makes sense.

> --
> Thanks,
> ~Nick Desaulniers

Cheers