mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add support for scattered relocations to the MachO relocatation pretty printer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "llvm/Object/ObjectFile.h"
|
||||
#include "llvm/Object/MachOObject.h"
|
||||
#include "llvm/Support/MachO.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
||||
namespace llvm {
|
||||
@@ -110,7 +111,8 @@ private:
|
||||
InMemoryStruct<macho::RelocationEntry> &Res) const;
|
||||
std::size_t getSectionIndex(DataRefImpl Sec) const;
|
||||
|
||||
error_code getRelocationTargetName(uint32_t Idx, StringRef &S) const;
|
||||
void printRelocationTargetName(InMemoryStruct<macho::RelocationEntry>& RE,
|
||||
raw_string_ostream &fmt) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user