Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Re-apply r309622 with a fix for MSVC. | Peter Collingbourne | 2017-07-31 | 1 | -0/+15 |
| | | | | | | Patch by Vlad Tsyrklevich! llvm-svn: 309635 | ||||
* | Revert r309622, "Fix logic for generating llvm.type.test()s" | Peter Collingbourne | 2017-07-31 | 1 | -15/+0 |
| | | | | | | | Caused a bot test failure: http://bb.pgr.jp/builders/test-clang-msc-x64-on-i686-linux-RA/builds/5325 llvm-svn: 309624 | ||||
* | Fix logic for generating llvm.type.test()s | Peter Collingbourne | 2017-07-31 | 1 | -0/+15 |
CodeGenFunction::EmitTypeMetadataCodeForVCall() could output an llvm.assume(llvm.type.test())when CFI was enabled, optimizing out the vcall check. This case was only reached when: 1) CFI-vcall was enabled, 2) -fwhole-program-tables was specified, and 3) -fno-sanitize-trap=cfi-vcall was specified. Patch by Vlad Tsyrklevich! Differential Revision: https://reviews.llvm.org/D36013 llvm-svn: 309622 |