mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Change relocation API to be per section. This time without breaking GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141385 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -155,7 +155,7 @@ void llvm::DisassembleInputLibObject(StringRef Filename) {
|
||||
<< ":\tfile format " << Obj->getFileFormatName() << "\n\n";
|
||||
|
||||
error_code ec;
|
||||
for (ObjectFile::section_iterator i = Obj->begin_sections(),
|
||||
for (section_iterator i = Obj->begin_sections(),
|
||||
e = Obj->end_sections();
|
||||
i != e; i.increment(ec)) {
|
||||
if (error(ec)) break;
|
||||
@ -165,7 +165,7 @@ void llvm::DisassembleInputLibObject(StringRef Filename) {
|
||||
|
||||
// Make a list of all the symbols in this section.
|
||||
std::vector<std::pair<uint64_t, StringRef> > Symbols;
|
||||
for (ObjectFile::symbol_iterator si = Obj->begin_symbols(),
|
||||
for (symbol_iterator si = Obj->begin_symbols(),
|
||||
se = Obj->end_symbols();
|
||||
si != se; si.increment(ec)) {
|
||||
bool contains;
|
||||
|
Reference in New Issue
Block a user