1 //===-- OrcTargetSupport.h - Code to support specific targets --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Target specific code for Orc, e.g. callback assembly.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H
15 #define LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H
17 #include "IndirectionUtils.h"
21 /// @brief Insert callback asm into module M for the symbols managed by
22 /// JITResolveCallbackHandler J.
23 void insertX86CallbackAsm(Module &M, JITResolveCallbackHandler &J);
26 #endif // LLVM_EXECUTIONENGINE_ORC_ORCTARGETSUPPORT_H