mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-21 16:25:23 +00:00
Implement containsSymbol with other lower level methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -223,8 +223,6 @@ protected:
|
||||
virtual bool isSectionBSS(DataRefImpl Sec) const = 0;
|
||||
// A section is 'virtual' if its contents aren't present in the object image.
|
||||
virtual bool isSectionVirtual(DataRefImpl Sec) const = 0;
|
||||
virtual bool sectionContainsSymbol(DataRefImpl Sec,
|
||||
DataRefImpl Symb) const = 0;
|
||||
virtual relocation_iterator section_rel_begin(DataRefImpl Sec) const = 0;
|
||||
virtual relocation_iterator section_rel_end(DataRefImpl Sec) const = 0;
|
||||
virtual section_iterator getRelocatedSection(DataRefImpl Sec) const;
|
||||
@@ -400,11 +398,6 @@ inline bool SectionRef::isVirtual() const {
|
||||
return OwningObject->isSectionVirtual(SectionPimpl);
|
||||
}
|
||||
|
||||
inline bool SectionRef::containsSymbol(SymbolRef S) const {
|
||||
return OwningObject->sectionContainsSymbol(SectionPimpl,
|
||||
S.getRawDataRefImpl());
|
||||
}
|
||||
|
||||
inline relocation_iterator SectionRef::relocation_begin() const {
|
||||
return OwningObject->section_rel_begin(SectionPimpl);
|
||||
}
|
||||
|
Reference in New Issue
Block a user