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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/DebugInfo/DIContext.h"
|
|
|
|
#include "DWARFContext.h"
|
|
|
|
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
|
|
|
}
|