mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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:
parent
cf9661c6f9
commit
8317095e97
@ -2610,7 +2610,7 @@ void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
|
||||
}
|
||||
|
||||
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(End && "End label should not be null!");
|
||||
assert(Begin->isDefined() && "Invalid starting label");
|
||||
|
@ -562,8 +562,8 @@ class DwarfDebug : public AsmPrinterHandler {
|
||||
|
||||
void attachRangesOrLowHighPC(DwarfCompileUnit &Unit, DIE &D,
|
||||
const SmallVectorImpl<InsnRange> &Ranges);
|
||||
void attachLowHighPC(DwarfCompileUnit &Unit, DIE &D, MCSymbol *Begin,
|
||||
MCSymbol *End);
|
||||
void attachLowHighPC(DwarfCompileUnit &Unit, DIE &D, const MCSymbol *Begin,
|
||||
const MCSymbol *End);
|
||||
|
||||
public:
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user