1 //===-- RISCVTargetObjectFile.cpp - RISCV Object Info -----------------===// 2 // 3 // The LLVM Compiler Infrastructure 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 "RISCVTargetObjectFile.h" 11 #include "RISCVTargetMachine.h" 12 13 using namespace llvm; 14 15 void RISCVELFTargetObjectFile::Initialize(MCContext &Ctx, 16 const TargetMachine &TM) { 17 TargetLoweringObjectFileELF::Initialize(Ctx, TM); 18 InitializeELF(TM.Options.UseInitArray); 19 } 20