[cfe-dev] clang-3.4 built with ud2 opcodes, and kernel trapping on ud2 during check-all

Dmitri Gribenko gribozavr at gmail.com
Sat Feb 1 17:55:47 PST 2014


On Mon, Jan 27, 2014 at 2:52 PM, Frank Rehwinkel
<frankrehwinkel at gmail.com> wrote:
> Any suggestions?  Just leave it and see if the traps are hit in the course
> of my own compiling, or dig in and figure out why my clang's build this way?

Hi Frank,

This is normal.  Clang and sanitizer testsuites include tests that
should crash in order to pass.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-dev mailing list