LLVM API Documentation
00001 //===-- SkeletonCodeEmitter.cpp - JIT Code Emitter --------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file was developed by the LLVM research group and is distributed under 00006 // the University of Illinois Open Source License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This is a stub for a JIT code generator, which is obviously not implemented. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #include "SkeletonTargetMachine.h" 00015 using namespace llvm; 00016 00017 /// addPassesToEmitMachineCode - Add passes to the specified pass manager to get 00018 /// machine code emitted. This uses a MachineCodeEmitter object to handle 00019 /// actually outputting the machine code and resolving things like the address 00020 /// of functions. This method should returns true if machine code emission is 00021 /// not supported. 00022 /// 00023 bool SkeletonTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM, 00024 MachineCodeEmitter &MCE){ 00025 return true; // Not implemented yet! 00026 } 00027 00028 void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) { 00029 assert (0 && "replaceMachineCodeForFunction not implemented"); 00030 } 00031