mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
25 lines
987 B
C++
25 lines
987 B
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) {
|
||
|
return new DWARFContextInMemory(isLittleEndian, infoSection, abbrevSection,
|
||
|
aRangeSection, lineSection, stringSection);
|
||
|
}
|