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

source code of compiler-rt/lib/orc/tests/unit/common.cpp