mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Attempt to pacify buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217499 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -567,7 +567,14 @@ public:
|
||||
const data_directory *&Res) const;
|
||||
std::error_code getSection(int32_t index, const coff_section *&Res) const;
|
||||
template <typename coff_symbol_type>
|
||||
std::error_code getSymbol(uint32_t index, const coff_symbol_type *&Res) const;
|
||||
std::error_code getSymbol(uint32_t Index,
|
||||
const coff_symbol_type *&Res) const {
|
||||
if (Index < getNumberOfSymbols())
|
||||
Res = reinterpret_cast<coff_symbol_type *>(getSymbolTable()) + Index;
|
||||
else
|
||||
return object_error::parse_failed;
|
||||
return object_error::success;
|
||||
}
|
||||
ErrorOr<COFFSymbolRef> getSymbol(uint32_t index) const {
|
||||
if (SymbolTable16) {
|
||||
const coff_symbol16 *Symb = nullptr;
|
||||
|
Reference in New Issue
Block a user