[PATCH v3 0/4] Fix 'faddr2line' for LLVM arm64 builds
From: Will Deacon
Date: Fri Jul 28 2023 - 07:34:27 EST
Hi all,
Here's version three 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
Changes since v2 include:
* Brought back the (unchanged) patch introducing LLVM=1 so that all
the patches are in one place and don't end up conflicting with each
other.
* Added a new patch to drop the strict "FUNC" symbol type match in
the outer loop
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 (4):
scripts/faddr2line: Use LLVM addr2line and readelf if LLVM=1
scripts/mksysmap: Factor out sed ignored symbols expression into
script
scripts/faddr2line: Constrain readelf output to symbols from
System.map
scripts/faddr2line: Don't filter out non-function symbols from readelf
scripts/faddr2line | 15 +++++--
scripts/mksysmap | 77 +--------------------------------
scripts/sysmap-ignored-syms.sed | 74 +++++++++++++++++++++++++++++++
3 files changed, 86 insertions(+), 80 deletions(-)
create mode 100644 scripts/sysmap-ignored-syms.sed
--
2.41.0.487.g6d72f3e995-goog