mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Add support for .symtab_shnidx. Unfortunately, doing this required breaking a
layer of abstraction around SymbolRef where you can read its private SymbolPimpl member. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -120,6 +120,8 @@ public:
|
||||
/// Returns true for symbols that can be used in another objects,
|
||||
/// such as library functions
|
||||
error_code isGlobal(bool &Result) const;
|
||||
|
||||
DataRefImpl getRawDataRefImpl() const;
|
||||
};
|
||||
typedef content_iterator<SymbolRef> symbol_iterator;
|
||||
|
||||
@@ -345,6 +347,10 @@ inline error_code SymbolRef::getSymbolType(SymbolRef::SymbolType &Result) const
|
||||
return OwningObject->getSymbolType(SymbolPimpl, Result);
|
||||
}
|
||||
|
||||
inline DataRefImpl SymbolRef::getRawDataRefImpl() const {
|
||||
return SymbolPimpl;
|
||||
}
|
||||
|
||||
|
||||
/// SectionRef
|
||||
inline SectionRef::SectionRef(DataRefImpl SectionP,
|
||||
|
Reference in New Issue
Block a user