[PATCH] D10831: Attach attribute "trap-func-name" to IR function
Peter Collingbourne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 14 18:51:18 PST 2018
pcc added a comment.
Herald added subscribers: llvm-commits, mehdi_amini.
Maybe I'm missing something, but I don't see why we need this attribute. Couldn't clang have been changed to implement `-ftrap-function` by generating a call to the trap function instead of emitting an `llvm.trap` intrinsic call?
Repository:
rL LLVM
https://reviews.llvm.org/D10831
More information about the cfe-commits
mailing list