[Orc] Make the ObjectLinkingLayer take ownership of object files until
[oota-llvm.git] / include / llvm / ExecutionEngine / Orc / OrcTargetSupport.h
1 //===-- OrcTargetSupport.h - Code to support specific targets  --*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Target specific code for Orc, e.g. callback assembly.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H
15 #define LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H
16
17 #include "IndirectionUtils.h"
18
19 namespace llvm {
20
21 /// @brief Insert callback asm into module M for the symbols managed by
22 ///        JITResolveCallbackHandler J.
23 void insertX86CallbackAsm(Module &M, JITResolveCallbackHandler &J);
24 }
25
26 #endif // LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H