Change -arm-trap-func= into a non-arm specific option. Now Intrinsic::trap is lowered...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 8 Apr 2011 21:37:21 +0000 (21:37 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 8 Apr 2011 21:37:21 +0000 (21:37 +0000)
commit4da0c7c0c9081107bea5f6bac440f0f1eb47748f
tree0602fc33efe0ffceae34ab44129adbfce7d62239
parente2e777b0e73809047d98066ebcc28042882d1cf8
Change -arm-trap-func= into a non-arm specific option. Now Intrinsic::trap is lowered into a call to the specified trap function at sdisel time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129152 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetOptions.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/TargetMachine.cpp
test/CodeGen/ARM/trap.ll