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() {}
|
|
|
|
|
2012-11-12 21:40:38 +00:00
|
|
|
DIContext *DIContext::getDWARFContext(object::ObjectFile *Obj) {
|
|
|
|
return new DWARFContextInMemory(Obj);
|
2011-09-13 19:42:23 +00:00
|
|
|
}
|