LLVM API Documentation

DIContext.cpp
Go to the documentation of this file.
00001 //===-- DIContext.cpp -----------------------------------------------------===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 
00010 #include "llvm/DebugInfo/DIContext.h"
00011 #include "DWARFContext.h"
00012 using namespace llvm;
00013 
00014 DIContext::~DIContext() {}
00015 
00016 DIContext *DIContext::getDWARFContext(object::ObjectFile &Obj) {
00017   return new DWARFContextInMemory(Obj);
00018 }