3861d79fd7
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is coming soon.
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
//===-- 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() {}
|
|
|
|
DIContext *DIContext::getDWARFContext(bool isLittleEndian,
|
|
StringRef infoSection,
|
|
StringRef abbrevSection,
|
|
StringRef aRangeSection,
|
|
StringRef lineSection,
|
|
StringRef stringSection,
|
|
StringRef rangeSection,
|
|
const RelocAddrMap &Map) {
|
|
return new DWARFContextInMemory(isLittleEndian, infoSection, abbrevSection,
|
|
aRangeSection, lineSection, stringSection,
|
|
rangeSection, Map);
|
|
}
|