diff options
Diffstat (limited to 'contrib/llvm/tools/clang/include/clang/CodeGen/BackendUtil.h')
-rw-r--r-- | contrib/llvm/tools/clang/include/clang/CodeGen/BackendUtil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/llvm/tools/clang/include/clang/CodeGen/BackendUtil.h b/contrib/llvm/tools/clang/include/clang/CodeGen/BackendUtil.h index c6abc6e..bb105cb 100644 --- a/contrib/llvm/tools/clang/include/clang/CodeGen/BackendUtil.h +++ b/contrib/llvm/tools/clang/include/clang/CodeGen/BackendUtil.h @@ -15,6 +15,8 @@ #include <memory> namespace llvm { + class BitcodeModule; + template <typename T> class Expected; class Module; class MemoryBufferRef; } @@ -44,6 +46,9 @@ namespace clang { void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts, llvm::MemoryBufferRef Buf); + + llvm::Expected<llvm::BitcodeModule> + FindThinLTOModule(llvm::MemoryBufferRef MBRef); } #endif |