[libcxx-commits] [PATCH] D83741: [libunwind] Fix CIE v1 return address parsing

Ryan Prichard via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 13 22:34:05 PDT 2020


rprichard added a comment.

For reference, here's where Clang selects the CIE version:
https://github.com/llvm/llvm-project/blob/74c14202d90b46dda64a2542602855727b7d7f60/llvm/lib/MC/MCDwarf.cpp#L1592-L1605

And here's where Clang emits the return address register:
https://github.com/llvm/llvm-project/blob/74c14202d90b46dda64a2542602855727b7d7f60/llvm/lib/MC/MCDwarf.cpp#L1675-L1681

LLVM has another CIE parser (for dumping tools, I think):
https://github.com/llvm/llvm-project/blob/74c14202d90b46dda64a2542602855727b7d7f60/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp#L430-L431


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83741/new/

https://reviews.llvm.org/D83741





More information about the libcxx-commits mailing list