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

From: Will Deacon
Date: Mon Oct 02 2023 - 12:58:03 EST


Hello again.

This is version five of the fadd2line fixes that I previously posted at:

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
v4: https://lore.kernel.org/r/20230914131225.13415-1-will@xxxxxxxxxx

Changes since v4 include:
* Simplify the is_mapping_symbol() regex to reflect the latest version
of the C code.
* Add Suggested-by and Reviewed-by tags to patch 1.

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.582.g8ccd20d70d-goog