Skip to content

Fix 'faddr2line' for LLVM arm64 builds

Will Deacon linux-kbuild lkml 5 versions – Applied

Status from this message: The following commit has been merged into the objtool/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 4 repliesApplied
  2. v43 patches 6 repliesSuperseded
  3. v34 patches 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches3 repliesSuperseded
v12 patches4 repliesApplied

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3scripts/faddr2line: Don't filter out non-function symbols from readelfscripts/faddr2line+1 -10 replies
2/3scripts/faddr2line: Use LLVM addr2line and readelf if LLVM=1scripts/faddr2line+15 -21 reply
3/3scripts/faddr2line: Skip over mapping symbols in output from readelfscripts/faddr2line+5 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNick DesaulniersMasahiro Yamada
1/3R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

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

Hello again.

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

v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]
v3: https://lore.kernel.org/r/[email protected]
v4: https://lore.kernel.org/r/[email protected]

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 <[email protected]>
Cc Nathan Chancellor <[email protected]>
Cc Nick Desaulniers <[email protected]>
Cc Nicolas Schier <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc John Stultz <[email protected]>

--->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(-)
Signature · 1 line
2.42.0.582.g8ccd20d70d-goog