[PATCH] D31139: [LLVMbugs] [Bug 18710] Only generate .ARM.exidx and .ARM.extab when needed with EHABI

Christian Bruel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 06:12:38 PDT 2017


chrib updated this revision to Diff 93628.
chrib added a comment.



1. Updating https://reviews.llvm.org/D31139: [LLVMbugs] [Bug 18710] Only generate .ARM.exidx and .ARM.extab when needed with EHABI #

Emit cantunwind directive if uwtable is set and the function cannot throw
Emit unwind table if uwtable is set

The tests that check for the existence of .fnstart directives should have the uwtable attribute set


https://reviews.llvm.org/D31139

Files:
  lib/CodeGen/AsmPrinter/ARMException.cpp
  test/CodeGen/ARM/atomic-cmpxchg.ll
  test/CodeGen/ARM/big-endian-eh-unwind.ll
  test/CodeGen/ARM/constantpool-promote.ll
  test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll
  test/CodeGen/ARM/ehabi-handlerdata.ll
  test/CodeGen/ARM/ehabi-no-landingpad.ll
  test/CodeGen/ARM/ehabi.ll
  test/CodeGen/ARM/execute-only.ll
  test/CodeGen/ARM/fp16-promote.ll
  test/CodeGen/Thumb/copy_thumb.ll
  test/MC/ARM/data-in-code.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31139.93628.patch
Type: text/x-patch
Size: 16057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170331/44c8339d/attachment.bin>


More information about the llvm-commits mailing list