[PATCH] Use function attribute "trap-func-name" and remove TargetOptions::TrapFuncName

Akira Hatanaka ahatanak at gmail.com
Mon Jun 29 23:16:44 PDT 2015


Hi echristo, dexonsmith,

This patch changes normal isel and fast-isel to read the user-defined trap function name from function attribute "trap-func-name" instead of from TargetOptions::TrapFuncName.

This is the llvm side change that goes with this clang patch:
http://reviews.llvm.org/D10831

http://reviews.llvm.org/D10832

Files:
  include/llvm/CodeGen/CommandFlags.h
  include/llvm/Target/TargetOptions.h
  lib/CodeGen/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/TargetOptionsImpl.cpp
  test/CodeGen/ARM/fnattr-trap.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10832.28754.patch
Type: text/x-patch
Size: 5377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150630/ee623d19/attachment.bin>


More information about the llvm-commits mailing list