1 //===-- DIContext.cpp -----------------------------------------------------===//
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 "llvm/DebugInfo/DWARF/DIContext.h"
11 #include "llvm/DebugInfo/DWARF/DWARFContext.h"
12 using namespace llvm;
13 
~DIContext()14 DIContext::~DIContext() {}
15 
getDWARFContext(const object::ObjectFile & Obj)16 DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) {
17   return new DWARFContextInMemory(Obj);
18 }
19