| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | At -O0, emit an @llvm.trap() call at the end of a value-returning function which | Richard Smith | 2012-10-15 |
| | | | | | | | | fails to return a value, to make debugging this issue easier. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165914 91177308-0d34-0410-b5e6-96231b3b80d8 | ||
| * | If we flow off the end of a value-returning function: | Richard Smith | 2012-10-04 |
| - outside C++, return undef (behavior is not undefined unless the value is used) - in C++, with -fcatch-undefined-behavior, perform an appropriate trap - in C++, produce an 'unreachable' (behavior is undefined immediately) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165273 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
