Couple of fixes to mention bunzip2 and make instructions more clear.
[llvm-complete.git] / lib / Target / TargetMachOWriterInfo.cpp
blob9a9d0d36e30868d287a67b653bb755608d90b7ae
1 //===-- llvm/Target/TargetMachOWriterInfo.h - MachO Writer Info -*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file was developed by Bill Wendling and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the TargetMachOWriterInfo class.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Target/TargetMachOWriterInfo.h"
15 #include "llvm/CodeGen/MachineRelocation.h"
16 using namespace llvm;
18 TargetMachOWriterInfo::~TargetMachOWriterInfo() {}
20 MachineRelocation
21 TargetMachOWriterInfo::GetJTRelocation(unsigned Offset,
22 MachineBasicBlock *MBB) const {
23 // FIXME: do something about PIC
24 return MachineRelocation::getBB(Offset, MachineRelocation::VANILLA, MBB);