summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/fnattr-trap.ll
Commit message (Collapse)AuthorAgeFilesLines
* llvm/test/CodeGen/ARM/fnattr-trap.ll: Add -mtriple, to appease targeting ↵NAKAMURA Takumi2015-07-031-2/+2
| | | | | | | | *-win32. LLVM ERROR: CPU: 'generic' does not support ARM mode execution! llvm-svn: 241329
* Use function attribute "trap-func-name" and remove TargetOptions::TrapFuncName.Akira Hatanaka2015-07-021-0/+40
This commit changes normal isel and fast isel to read the user-defined trap function name from function attribute "trap-func-name" attached to llvm.trap or llvm.debugtrap instead of from TargetOptions::TrapFuncName. This is needed to use clang's command line option "-ftrap-function" for LTO and enable changing the trap function name on a per-call-site basis. Out-of-tree projects currently using TargetOptions::TrapFuncName to specify the trap function name should attach attribute "trap-func-name" to the call sites of llvm.trap and llvm.debugtrap instead. rdar://problem/21225723 Differential Revision: http://reviews.llvm.org/D10832 llvm-svn: 241305
OpenPOWER on IntegriCloud