//===-- JITEmitter.cpp - Write machine code to executable memory ----------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file defines a MachineCodeEmitter object that is used by the JIT to// write machine code to memory and remember where relocatable values are.////===----------------------------------------------------------------------===//#define DEBUG_TYPE "jit"#include"JIT.h"#include"JITDebugRegisterer.h"#include"JITDwarfEmitter.h"#include"llvm/ADT/OwningPtr.h"#include"llvm/Constants.h"#include"llvm/Module.h"#include"llvm/DerivedTypes.h"#include"llvm/CodeGen/JITCodeEmitter.h"#include"llvm/CodeGen/MachineFunction.h"#include"llvm/CodeGen/MachineConstantPool.h"#include"llvm/CodeGen/MachineJumpTableInfo.h"#include"llvm/CodeGen/MachineModuleInfo.h"#include"llvm/CodeGen/MachineRelocation.h"#include"llvm/ExecutionEngine/GenericValue.h"#include