[PATCH] Attach attribute "trap-func-name" to IR function

Akira Hatanaka ahatanak at gmail.com
Tue Jun 30 18:46:37 PDT 2015


The new patch attaches "trap-func-name" to the call sites instead of the calling functions, which simplifies the handling of the attribute when functions are merged and inlined.

The relevant discussion I had with Eric is here:
http://reviews.llvm.org/D10832


http://reviews.llvm.org/D10831

Files:
  lib/CodeGen/BackendUtil.cpp
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCXX/trap-fnattr.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10831.28837.patch
Type: text/x-patch
Size: 6062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150701/d7843408/attachment.bin>


More information about the cfe-commits mailing list