Please add a compiler-rt test case (as a separate change). Reports would be unreadable at this point (without CFI), but it should be possible to have (a) a basic positive test, (b) a test the we preserve flags. http://reviews.llvm.org/D3652