[PATCH] D88767: Show register names in DWARF unwind info.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 18:08:01 PDT 2020


clayborg created this revision.
clayborg added reviewers: labath, aprantl, JDevlieghere, dblaikie.
Herald added subscribers: hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
clayborg requested review of this revision.
Herald added a subscriber: MaskRay.

Register context information was already being passed into the DWARFDebugFrame code that dumps unwind information but it wasn't being used. This change adds the ability to dump registers names of a valid MC register context was passed in and if it knows about the register. Updated the tests to use the newly returned register names.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88767

Files:
  llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
  llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test
  llvm/test/MC/ELF/cfi-restore-extended.s
  llvm/test/MC/X86/i386-darwin-frame-register.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88767.295943.patch
Type: text/x-patch
Size: 3868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201003/a9be8484/attachment.bin>


More information about the llvm-commits mailing list