mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
a1f7715ef9
The DWARFContext will be used to pass global 'context' down, like pointers to related debug info sections or command line options. The first use will be for the debug_info dumper to be able to access other debug info section to dump eg. Location Expression inline in the debug_info dump. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217128 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
898 B
C++
31 lines
898 B
C++
//===-- DWARFCompileUnit.h --------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
|
|
#define LLVM_LIB_DEBUGINFO_DWARFCOMPILEUNIT_H
|
|
|
|
#include "DWARFUnit.h"
|
|
|
|
namespace llvm {
|
|
|
|
class DWARFCompileUnit : public DWARFUnit {
|
|
public:
|
|
DWARFCompileUnit(DWARFContext& Context, const DWARFDebugAbbrev *DA,
|
|
StringRef IS, StringRef RS, StringRef SS, StringRef SOS,
|
|
StringRef AOS, const RelocAddrMap *M, bool LE)
|
|
: DWARFUnit(Context, DA, IS, RS, SS, SOS, AOS, M, LE) {}
|
|
void dump(raw_ostream &OS);
|
|
// VTable anchor.
|
|
~DWARFCompileUnit() override;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|