[PATCH] D101567: [llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 13:37:33 PDT 2021


mstorsjo created this revision.
mstorsjo added a reviewer: rnk.
Herald added subscribers: rupprecht, kristof.beyls.
Herald added a reviewer: jhenderson.
mstorsjo requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

Unwind info generated by MSVC tends to have relocations pointing at
static "label" symbols like "$LN4" instead of regular ones based on
the actual function's name. Try to resolve such symbols to a non-label
symbol if possible (ideally to an external symbol), to improve
the readability.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101567

Files:
  llvm/test/tools/llvm-readobj/COFF/arm64-unwind-preferred-symbol.yaml
  llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
  llvm/tools/llvm-readobj/ARMWinEHPrinter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101567.341628.patch
Type: text/x-patch
Size: 5921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210429/7a124058/attachment.bin>


More information about the llvm-commits mailing list