LLVM API Documentation

TargetMachOWriterInfo.cpp

Go to the documentation of this file.
00001 //===-- llvm/Target/TargetMachOWriterInfo.h - MachO Writer Info -*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file defines the TargetMachOWriterInfo class.
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #include "llvm/Target/TargetMachOWriterInfo.h"
00015 #include "llvm/CodeGen/MachineRelocation.h"
00016 using namespace llvm;
00017 
00018 TargetMachOWriterInfo::~TargetMachOWriterInfo() {}
00019 
00020 MachineRelocation
00021 TargetMachOWriterInfo::GetJTRelocation(unsigned Offset,
00022                                        MachineBasicBlock *MBB) const {
00023   // FIXME: do something about PIC
00024   return MachineRelocation::getBB(Offset, MachineRelocation::VANILLA, MBB);
00025 }



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.