[PATCH] D139663: Emit unwind information in the .debug_frame section when the .cfi_sections .debug_frame directive is used.

Shubham Sandeep Rastogi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 12:23:45 PST 2022


rastogishubham created this revision.
rastogishubham added reviewers: aprantl, respindola, void.
rastogishubham added a project: debug-info.
Herald added a subscriber: hiraditya.
Herald added a project: All.
rastogishubham requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

By default the unwind information is emitted in the eh_frame section, but when the ```.cfi_sections .debug_frame``` directive is used, the information is supposed to be emitted in the .debug_frame section. This doesn't seem to work, however. This patched addresses that bug.


https://reviews.llvm.org/D139663

Files:
  llvm/include/llvm/MC/MCDwarf.h
  llvm/lib/MC/MCDwarf.cpp
  llvm/lib/MC/MCObjectStreamer.cpp
  llvm/test/DebugInfo/debugframeinfo.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139663.481400.patch
Type: text/x-patch
Size: 3669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221208/2987d3aa/attachment.bin>


More information about the llvm-commits mailing list