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

Message ID 20230724174517.15736-1-will@kernel.org
Headers
Series Fix 'faddr2line' for LLVM arm64 builds |

Message

Will Deacon July 24, 2023, 5:45 p.m. UTC
  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@kernel.org>
Cc: John Stultz <jstultz@google.com>

--->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(-)