mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Constify MCSymbol* parameters to DwarfDebug::attachLowHighPC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216681 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2610,7 +2610,7 @@ void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void DwarfDebug::attachLowHighPC(DwarfCompileUnit &Unit, DIE &D,
|
void DwarfDebug::attachLowHighPC(DwarfCompileUnit &Unit, DIE &D,
|
||||||
MCSymbol *Begin, MCSymbol *End) {
|
const MCSymbol *Begin, const MCSymbol *End) {
|
||||||
assert(Begin && "Begin label should not be null!");
|
assert(Begin && "Begin label should not be null!");
|
||||||
assert(End && "End label should not be null!");
|
assert(End && "End label should not be null!");
|
||||||
assert(Begin->isDefined() && "Invalid starting label");
|
assert(Begin->isDefined() && "Invalid starting label");
|
||||||
|
@@ -562,8 +562,8 @@ class DwarfDebug : public AsmPrinterHandler {
|
|||||||
|
|
||||||
void attachRangesOrLowHighPC(DwarfCompileUnit &Unit, DIE &D,
|
void attachRangesOrLowHighPC(DwarfCompileUnit &Unit, DIE &D,
|
||||||
const SmallVectorImpl<InsnRange> &Ranges);
|
const SmallVectorImpl<InsnRange> &Ranges);
|
||||||
void attachLowHighPC(DwarfCompileUnit &Unit, DIE &D, MCSymbol *Begin,
|
void attachLowHighPC(DwarfCompileUnit &Unit, DIE &D, const MCSymbol *Begin,
|
||||||
MCSymbol *End);
|
const MCSymbol *End);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
|
Reference in New Issue
Block a user