1 //===- MCRegionFragment.cpp - MCRegionFragment implementation -------------===// 2 // 3 // The MCLinker Project 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include "mcld/MC/MCRegionFragment.h" 11 12 using namespace mcld; 13 using namespace llvm; 14 15 //========================== 16 // MCRegionFragment 17 MCRegionFragment::MCRegionFragment(MemoryRegion& pRegion, MCSectionData* pSD) 18 : MCFragment((llvm::MCFragment::FragmentType)FT_Region, pSD), m_Region(pRegion) { 19 } 20 21 MCRegionFragment::~MCRegionFragment() 22 { 23 } 24 25