[PATCH] D37656: [cfi] Set function attributes for __cfi_* functions.

Evgenii Stepanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 17:57:48 PDT 2017


eugenis created this revision.
Herald added subscribers: hiraditya, kristof.beyls, srhines, aemerson.

Set target_cpu and target_features attributes on __cfi_check_fail and
__cfi_check. Make cfi_check use Thumb encoding on ARM target.


https://reviews.llvm.org/D37656

Files:
  clang/lib/CodeGen/CGExpr.cpp
  clang/test/CodeGen/cfi-check-thumb.c
  llvm/lib/Transforms/IPO/CrossDSOCFI.cpp
  llvm/test/Transforms/CrossDSOCFI/thumb.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37656.114467.patch
Type: text/x-patch
Size: 5294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170909/3ebaa421/attachment-0001.bin>


More information about the cfe-commits mailing list