2011-09-13 19:42:23 +00:00
|
|
|
//===-- DIContext.cpp -----------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2015-01-30 18:07:45 +00:00
|
|
|
#include "llvm/DebugInfo/DWARF/DIContext.h"
|
|
|
|
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
|
2011-09-13 19:42:23 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
DIContext::~DIContext() {}
|
|
|
|
|
2014-10-20 20:28:51 +00:00
|
|
|
DIContext *DIContext::getDWARFContext(const object::ObjectFile &Obj) {
|
2012-11-12 21:40:38 +00:00
|
|
|
return new DWARFContextInMemory(Obj);
|
2011-09-13 19:42:23 +00:00
|
|
|
}
|