2011-09-14 03:42:23 +08: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-13 05:40:38 +08:00
|
|
|
DIContext *DIContext::getDWARFContext(object::ObjectFile *Obj) {
|
|
|
|
return new DWARFContextInMemory(Obj);
|
2011-09-14 03:42:23 +08:00
|
|
|
}
|