valgrind 3.4.1 doesn't compile: m_signals.c:1435:7: error: cannot compile this builtin function yet __builtin_longjmp(tst->sched_jmpbuf, True); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
m_scheduler/scheduler.c:824:4: error: cannot compile this builtin function yet SCHEDSETJMP(tid, jumped, VG_(client_syscall)(tid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_scheduler/scheduler.c:519:18: note: instantiated from: (jumped) = __builtin_setjmp(_qq_tst->sched_jmpbuf); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is still an issue for clang 2.7
Enabling the code in CGBuiltin.cpp to handle these works on ARM/Darwin. No other targets lower the intrinsics that I know of, though.
This is theoretically fixed in r165989. Please verify.