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