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

Will Deacon posted 4 patches 2 years, 6 months ago
There is a newer version of this series
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
[PATCH v3 0/4] Fix 'faddr2line' for LLVM arm64 builds
Posted by Will Deacon 2 years, 6 months ago
Hi all,

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

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

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@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Nicolas Schier <nicolas@fjasle.eu>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: John Stultz <jstultz@google.com>
Cc: linux-kbuild@vger.kernel.org

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