blob: 01aecf8226e19d0b20921e40b1caa38f9a82ea14 [file] [log] [blame]
Benjamin Krameraa2f78f2011-09-13 19:42:23 +00001//===-- 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/DIContext.h"
11#include "DWARFContext.h"
12using namespace llvm;
13
14DIContext::~DIContext() {}
15
Alexey Samsonov4a7eb382014-10-20 20:28:51 +000016DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) {
Eric Christopher7370b552012-11-12 21:40:38 +000017 return new DWARFContextInMemory(Obj);
Benjamin Krameraa2f78f2011-09-13 19:42:23 +000018}