mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
sink management of DwarfWriter & MachineModuleInfo into the AsmPrinter base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74101 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,6 +33,7 @@ namespace llvm {
|
||||
class GlobalVariable;
|
||||
class MachineConstantPoolEntry;
|
||||
class MachineConstantPoolValue;
|
||||
class MachineModuleInfo;
|
||||
class DwarfWriter;
|
||||
class Mangler;
|
||||
class Section;
|
||||
@@ -58,9 +59,10 @@ namespace llvm {
|
||||
gcp_map_type GCMetadataPrinters;
|
||||
|
||||
protected:
|
||||
/// DW -This is needed because printDeclare() has to insert
|
||||
/// DbgVariable entries into the dwarf table. This is a short term hack
|
||||
/// that ought be fixed soon.
|
||||
/// MMI - If available, this is a pointer to the current MachineModuleInfo.
|
||||
MachineModuleInfo *MMI;
|
||||
|
||||
/// DW - If available, this is a pointer to the current dwarf writer.
|
||||
DwarfWriter *DW;
|
||||
|
||||
/// OptLevel - Generating code at a specific optimization level.
|
||||
|
Reference in New Issue
Block a user