[all-commits] [llvm/llvm-project] 70c493: [llvm-readobj] [ARMWinEH] Try to resolve label sym...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue May 4 12:39:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70c4930637fa9a43eabcbde66e5a74262da1e46c
      https://github.com/llvm/llvm-project/commit/70c4930637fa9a43eabcbde66e5a74262da1e46c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    A llvm/test/tools/llvm-readobj/COFF/arm64-unwind-preferred-symbol.yaml
    M llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
    M llvm/tools/llvm-readobj/ARMWinEHPrinter.h

  Log Message:
  -----------
  [llvm-readobj] [ARMWinEH] Try to resolve label symbols into regular ones

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.

Differential Revision: https://reviews.llvm.org/D101567




More information about the All-commits mailing list