LLVM API Documentation

MCELFObjectTargetWriter.cpp
Go to the documentation of this file.
00001 //===-- MCELFObjectTargetWriter.cpp - ELF Target Writer Subclass ----------===//
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 #include "llvm/ADT/STLExtras.h"
00011 #include "llvm/MC/MCELFObjectWriter.h"
00012 #include "llvm/MC/MCExpr.h"
00013 #include "llvm/MC/MCValue.h"
00014 
00015 using namespace llvm;
00016 
00017 MCELFObjectTargetWriter::MCELFObjectTargetWriter(bool Is64Bit_,
00018                                                  uint8_t OSABI_,
00019                                                  uint16_t EMachine_,
00020                                                  bool HasRelocationAddend_,
00021                                                  bool IsN64_)
00022   : OSABI(OSABI_), EMachine(EMachine_),
00023     HasRelocationAddend(HasRelocationAddend_), Is64Bit(Is64Bit_),
00024     IsN64(IsN64_){
00025 }
00026 
00027 bool MCELFObjectTargetWriter::needsRelocateWithSymbol(const MCSymbolData &SD,
00028                                                       unsigned Type) const {
00029   return false;
00030 }