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