diff options
Diffstat (limited to 'llvm/tools/remarks-shlib/libremarks.cpp')
| -rw-r--r-- | llvm/tools/remarks-shlib/libremarks.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/tools/remarks-shlib/libremarks.cpp b/llvm/tools/remarks-shlib/libremarks.cpp new file mode 100644 index 00000000000..3f65217cbcc --- /dev/null +++ b/llvm/tools/remarks-shlib/libremarks.cpp @@ -0,0 +1,17 @@ +//===-libremarks.cpp - LLVM Remarks Shared Library ------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// Provide a library to work with remark diagnostics. +// +//===----------------------------------------------------------------------===// + +#include "llvm-c/Remarks.h" + +extern uint32_t LLVMRemarkVersion(void) { + return REMARKS_API_VERSION; +} |

