Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / lib / orc / log_error_to_stderr.cpp
blob4fabbc0d212a0f35862e5290e68e2e8e1ed3fb6d
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.
11 //===----------------------------------------------------------------------===//
13 #include "compiler.h"
15 #include <stdio.h>
17 ORC_RT_INTERFACE void __orc_rt_log_error_to_stderr(const char *ErrMsg) {
18 fprintf(stderr, "orc runtime error: %s\n", ErrMsg);