[PATCH] D43993: Generate .eh_frame contents for nounwind function with landingpads

Lei Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 18:41:40 PST 2018


lliu0 created this revision.
Herald added a subscriber: llvm-commits.

Nounwind function should have .eh_frame contents to catch exceptions thrown in the function itself.  We should generate it if the function has landingpads even if it is declared with nounwind.


Repository:
  rL LLVM

https://reviews.llvm.org/D43993

Files:
  include/llvm/CodeGen/AsmPrinter.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  test/CodeGen/X86/eh_frame_nounwind.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43993.136665.patch
Type: text/x-patch
Size: 7494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180302/802720d1/attachment.bin>


More information about the llvm-commits mailing list