mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Adds the next bit of support for llvm-objdump’s -private-headers for executable Mach-O files.
This adds the printing of more load commands, so that the normal load commands in a typical X86 Mach-O executable can all be printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1861,6 +1861,31 @@ MachOObjectFile::getDylibIDLoadCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::dylib_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
MachO::dyld_info_command
|
||||
MachOObjectFile::getDyldInfoLoadCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::dyld_info_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
MachO::dylinker_command
|
||||
MachOObjectFile::getDylinkerCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::dylinker_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
MachO::uuid_command
|
||||
MachOObjectFile::getUuidCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::uuid_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
MachO::source_version_command
|
||||
MachOObjectFile::getSourceVersionCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::source_version_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
MachO::entry_point_command
|
||||
MachOObjectFile::getEntryPointCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::entry_point_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
|
||||
MachO::any_relocation_info
|
||||
MachOObjectFile::getRelocation(DataRefImpl Rel) const {
|
||||
|
Reference in New Issue
Block a user