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