mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Added accessors for getting coff_relocation info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -724,6 +724,11 @@ const coff_symbol *COFFObjectFile::getCOFFSymbol(symbol_iterator &It) const {
|
||||
return toSymb(It->getRawDataRefImpl());
|
||||
}
|
||||
|
||||
const coff_relocation *COFFObjectFile::getCOFFRelocation(
|
||||
relocation_iterator &It) const {
|
||||
return toRel(It->getRawDataRefImpl());
|
||||
}
|
||||
|
||||
|
||||
#define LLVM_COFF_SWITCH_RELOC_TYPE_NAME(enum) \
|
||||
case COFF::enum: res = #enum; break;
|
||||
|
Reference in New Issue
Block a user