aboutsummaryrefslogtreecommitdiffstats
path: root/lib/DebugInfo/DWARF/DIContext.cpp
blob: a1c6ca4bd74bb6be146d49d6a16780dee3d4f9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===-- DIContext.cpp -----------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "llvm/DebugInfo/DWARF/DIContext.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
using namespace llvm;

DIContext::~DIContext() {}

DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) {
  return new DWARFContextInMemory(Obj);
}