1*700637cbSDimitry Andric #include <stdio.h> 2*700637cbSDimitry Andric 3*700637cbSDimitry Andric /// Defined so that tests can use code that logs errors. __orc_rt_log_error(const char * ErrMsg)4*700637cbSDimitry Andricextern "C" void __orc_rt_log_error(const char *ErrMsg) { 5*700637cbSDimitry Andric fprintf(stderr, "orc runtime error: %s\n", ErrMsg); 6*700637cbSDimitry Andric } 7