[PATCH 0/2] Fix 'faddr2line' for LLVM arm64 builds

From: Will Deacon
Date: Mon Jul 24 2023 - 13:49:39 EST


Hi Josh,

We recently noticed that 'faddr2line' isn't working very well on arm64
Android kernels built with LLVM, so I've hacked up this pair of fixes
which get it back into action. Please take a look!

I suck at shell, so apologies in advance for the patches.

Cheers,

Will

Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Cc: John Stultz <jstultz@xxxxxxxxxx>

--->8

Will Deacon (2):
scripts/faddr2line: Ignore non-function symbols in readelf output
scripts/faddr2line: Use LLVM addr2line and readelf if LLVM=1

scripts/faddr2line | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

--
2.41.0.487.g6d72f3e995-goog