diff options
Diffstat (limited to 'llvm/tools/opt-remarks/liboptremarks.cpp')
-rw-r--r-- | llvm/tools/opt-remarks/liboptremarks.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/tools/opt-remarks/liboptremarks.cpp b/llvm/tools/opt-remarks/liboptremarks.cpp new file mode 100644 index 00000000000..13acada06ac --- /dev/null +++ b/llvm/tools/opt-remarks/liboptremarks.cpp @@ -0,0 +1,18 @@ +//===-liboptremarks.cpp - LLVM Opt-Remarks Shared Library -----------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// Provide a library to work with optimization remarks. +// +//===----------------------------------------------------------------------===// + +#include "llvm-c/OptRemarks.h" + +extern uint32_t LLVMOptRemarkVersion(void) { + return OPT_REMARKS_API_VERSION; +} |