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

From: Will Deacon
Date: Thu Sep 14 2023 - 09:12:37 EST


Hi all,

Here's version four of my faddr2line fixes previously posted here:

v1: https://lore.kernel.org/r/20230724174517.15736-1-will@xxxxxxxxxx
v2: https://lore.kernel.org/r/20230725211157.17031-1-will@xxxxxxxxxx
v3: https://lore.kernel.org/r/20230728113415.21067-1-will@xxxxxxxxxx

Changes since v3 include:
* Add support for specifying specific LLVM versions with LLVM=
* Drop the mksysmap filter in favour of a simpler regex implementing
is_mapping_symbol()

Cheers,

Will

Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
Cc: Nicolas Schier <nicolas@xxxxxxxxx>
Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Cc: John Stultz <jstultz@xxxxxxxxxx>
Cc: linux-kbuild@xxxxxxxxxxxxxxx

--->8

Will Deacon (3):
scripts/faddr2line: Don't filter out non-function symbols from readelf
scripts/faddr2line: Use LLVM addr2line and readelf if LLVM=1
scripts/faddr2line: Skip over mapping symbols in output from readelf

scripts/faddr2line | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)

--
2.42.0.283.g2d96d420d3-goog