1 //===-- llvm/Target/TargetMachOWriterInfo.h - MachO Writer Info -*- 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 // This file defines the TargetMachOWriterInfo class.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Target/TargetMachOWriterInfo.h"
15 #include "llvm/CodeGen/MachineRelocation.h"
18 TargetMachOWriterInfo::~TargetMachOWriterInfo() {}
21 TargetMachOWriterInfo::GetJTRelocation(unsigned Offset,
22 MachineBasicBlock *MBB) const {
23 // FIXME: do something about PIC
24 return MachineRelocation::getBB(Offset, MachineRelocation::VANILLA, MBB);