mbox series

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

Message ID 20230728113415.21067-1-will@kernel.org (mailing list archive)
Headers show
Series Fix 'faddr2line' for LLVM arm64 builds | expand

Message

Will Deacon July 28, 2023, 11:34 a.m. UTC
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