mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Remove DebugLabelFolder pass. It is not used by dwarf writer anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89790 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -135,9 +135,6 @@ class MachineModuleInfo : public ImmutablePass {
|
||||
/// llvm.compiler.used.
|
||||
SmallPtrSet<const Function *, 32> UsedFunctions;
|
||||
|
||||
/// UsedDbgLabels - labels are used by debug info entries.
|
||||
SmallSet<unsigned, 8> UsedDbgLabels;
|
||||
|
||||
bool CallsEHReturn;
|
||||
bool CallsUnwindInit;
|
||||
|
||||
@ -232,19 +229,6 @@ public:
|
||||
return LabelID ? LabelIDList[LabelID - 1] : 0;
|
||||
}
|
||||
|
||||
/// isDbgLabelUsed - Return true if label with LabelID is used by
|
||||
/// DwarfWriter.
|
||||
bool isDbgLabelUsed(unsigned LabelID) {
|
||||
return UsedDbgLabels.count(LabelID);
|
||||
}
|
||||
|
||||
/// RecordUsedDbgLabel - Mark label with LabelID as used. This is used
|
||||
/// by DwarfWriter to inform DebugLabelFolder that certain labels are
|
||||
/// not to be deleted.
|
||||
void RecordUsedDbgLabel(unsigned LabelID) {
|
||||
UsedDbgLabels.insert(LabelID);
|
||||
}
|
||||
|
||||
/// getFrameMoves - Returns a reference to a list of moves done in the current
|
||||
/// function's prologue. Used to construct frame maps for debug and exception
|
||||
/// handling comsumers.
|
||||
|
Reference in New Issue
Block a user