mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
trim some spurious references to DwarfWriter. SDIsel really doesn't
need it anymore, so don't addRequire it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0bcbe0e609
commit
ea761868b5
@ -189,7 +189,7 @@ class MachineFrameInfo {
|
||||
SmallVector<bool, 8> SpillObjects;
|
||||
|
||||
/// MMI - This field is set (via setMachineModuleInfo) by a module info
|
||||
/// consumer (ex. DwarfWriter) to indicate that frame layout information
|
||||
/// consumer to indicate that frame layout information
|
||||
/// should be acquired. Typically, it's the responsibility of the target's
|
||||
/// TargetRegisterInfo prologue/epilogue emitting code to inform
|
||||
/// MachineModuleInfo of frame layouts.
|
||||
@ -455,7 +455,7 @@ public:
|
||||
/// emitter (TargetRegisterInfo) to provide frame layout information.
|
||||
MachineModuleInfo *getMachineModuleInfo() const { return MMI; }
|
||||
|
||||
/// setMachineModuleInfo - Used by a meta info consumer (DwarfWriter) to
|
||||
/// setMachineModuleInfo - Used by a meta info consumer to
|
||||
/// indicate that frame layout information should be gathered.
|
||||
void setMachineModuleInfo(MachineModuleInfo *mmi) { MMI = mmi; }
|
||||
|
||||
|
@ -132,8 +132,8 @@ class RegisterClass<string namespace, list<ValueType> regTypes, int alignment,
|
||||
//===----------------------------------------------------------------------===//
|
||||
// DwarfRegNum - This class provides a mapping of the llvm register enumeration
|
||||
// to the register numbering used by gcc and gdb. These values are used by a
|
||||
// debug information writer (ex. DwarfWriter) to describe where values may be
|
||||
// located during execution.
|
||||
// debug information writer to describe where values may be located during
|
||||
// execution.
|
||||
class DwarfRegNum<list<int> Numbers> {
|
||||
// DwarfNumbers - Numbers used internally by gcc/gdb to identify the register.
|
||||
// These values can be determined by locating the <target>.h file in the
|
||||
|
@ -270,6 +270,8 @@ public:
|
||||
void dump() const;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // end llvm namespace
|
||||
|
||||
#ifndef NDEBUG
|
||||
void DbgScope::dump() const {
|
||||
@ -297,8 +299,6 @@ DbgScope::~DbgScope() {
|
||||
delete Variables[j];
|
||||
}
|
||||
|
||||
} // end llvm namespace
|
||||
|
||||
DwarfDebug::DwarfDebug(AsmPrinter *A)
|
||||
: Asm(A), MMI(Asm->MMI), ModuleCU(0),
|
||||
AbbreviationsSet(InitAbbreviationsSetSize),
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||
#include "llvm/CodeGen/MachineJumpTableInfo.h"
|
||||
#include "llvm/CodeGen/MachineModuleInfo.h"
|
||||
#include "llvm/CodeGen/DwarfWriter.h"
|
||||
#include "llvm/Analysis/DebugInfo.h"
|
||||
#include "llvm/CodeGen/PseudoSourceValue.h"
|
||||
#include "llvm/Target/TargetFrameInfo.h"
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "llvm/CodeGen/ScheduleHazardRecognizer.h"
|
||||
#include "llvm/CodeGen/SchedulerRegistry.h"
|
||||
#include "llvm/CodeGen/SelectionDAG.h"
|
||||
#include "llvm/CodeGen/DwarfWriter.h"
|
||||
#include "llvm/Target/TargetRegisterInfo.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Target/TargetFrameInfo.h"
|
||||
@ -303,8 +302,6 @@ void SelectionDAGISel::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addPreserved<AliasAnalysis>();
|
||||
AU.addRequired<GCModuleInfo>();
|
||||
AU.addPreserved<GCModuleInfo>();
|
||||
AU.addRequired<DwarfWriter>();
|
||||
AU.addPreserved<DwarfWriter>();
|
||||
MachineFunctionPass::getAnalysisUsage(AU);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user