Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix memory leak in WinEHPrepare introduced in r227405. | Alexey Samsonov | 2015-01-30 | 1 | -1/+3 |
| | | | | | | This leak was detected by ASan bootstrap of LLVM. llvm-svn: 227625 | ||||
* | Update comments to use unreachable instead of llvm.trap, as implemented now | Reid Kleckner | 2015-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 227502 | ||||
* | EHPrepare: Remove leftover initialization code for DomTrees. | Benjamin Kramer | 2015-01-29 | 1 | -5/+2 |
| | | | | | | While there modernize some loops. NFC. llvm-svn: 227436 | ||||
* | Remove an unused private field added r227405 to fix a Clang warning. | Chandler Carruth | 2015-01-29 | 1 | -2/+1 |
| | | | | llvm-svn: 227415 | ||||
* | Remove unused variable | Reid Kleckner | 2015-01-29 | 1 | -2/+0 |
| | | | | llvm-svn: 227408 | ||||
* | Add a Windows EH preparation pass that zaps resumes | Reid Kleckner | 2015-01-29 | 1 | -0/+106 |
If the personality is not a recognized MSVC personality function, this pass delegates to the dwarf EH preparation pass. This chaining supports people on *-windows-itanium or *-windows-gnu targets. Currently this recognizes some personalities used by MSVC and turns resume instructions into traps to avoid link errors. Even if cleanups are not used in the source program, LLVM requires the frontend to emit a code path that resumes unwinding after an exception. Clang does this, and we get unreachable resume instructions. PR20300 covers cleaning up these unreachable calls to resume. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D7216 llvm-svn: 227405 |