1*bb5f97e3SLang Hames //===-- log_error_to_stderr.cpp -------------------------------------------===// 2*bb5f97e3SLang Hames // 3*bb5f97e3SLang Hames // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*bb5f97e3SLang Hames // See https://llvm.org/LICENSE.txt for license information. 5*bb5f97e3SLang Hames // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*bb5f97e3SLang Hames // 7*bb5f97e3SLang Hames //===----------------------------------------------------------------------===// 8*bb5f97e3SLang Hames // 9*bb5f97e3SLang Hames // This file is a part of the ORC runtime support library. 10*bb5f97e3SLang Hames // 11*bb5f97e3SLang Hames //===----------------------------------------------------------------------===// 12*bb5f97e3SLang Hames 13*bb5f97e3SLang Hames #include "compiler.h" 14*bb5f97e3SLang Hames 15*bb5f97e3SLang Hames #include <stdio.h> 16*bb5f97e3SLang Hames __orc_rt_log_error_to_stderr(const char * ErrMsg)17*bb5f97e3SLang HamesORC_RT_INTERFACE void __orc_rt_log_error_to_stderr(const char *ErrMsg) { 18*bb5f97e3SLang Hames fprintf(stderr, "orc runtime error: %s\n", ErrMsg); 19*bb5f97e3SLang Hames } 20