forked from OSchip/llvm-project
Cleanup some unused or trivial functions in DwarfCompileUnit
llvm-svn: 221164
This commit is contained in:
parent
d6efd3e0d0
commit
077ad48447
|
@ -395,7 +395,7 @@ DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE,
|
|||
DD->getLabelAfterInsn(R.second)));
|
||||
|
||||
// Add the range list to the set of ranges to be emitted.
|
||||
addRangeList(std::move(List));
|
||||
CURangeLists.push_back(std::move(List));
|
||||
}
|
||||
|
||||
void DwarfCompileUnit::attachRangesOrLowHighPC(
|
||||
|
|
|
@ -226,16 +226,10 @@ public:
|
|||
|
||||
void applySubprogramAttributesToDefinition(DISubprogram SP, DIE &SPDie);
|
||||
|
||||
/// addRangeList - Add an address range list to the list of range lists.
|
||||
void addRangeList(RangeSpanList Ranges) {
|
||||
CURangeLists.push_back(std::move(Ranges));
|
||||
}
|
||||
|
||||
/// getRangeLists - Get the vector of range lists.
|
||||
const SmallVectorImpl<RangeSpanList> &getRangeLists() const {
|
||||
return CURangeLists;
|
||||
}
|
||||
SmallVectorImpl<RangeSpanList> &getRangeLists() { return CURangeLists; }
|
||||
|
||||
/// getRanges - Get the list of ranges for this unit.
|
||||
const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; }
|
||||
|
|
Loading…
Reference in New Issue