mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
Add mach-o LC_RPATH support to llvm-objdump
Summary: Add rpath load command support in Mach-O object and update llvm-objdump to use it. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6512 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2299,6 +2299,11 @@ MachOObjectFile::getUuidCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::uuid_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
MachO::rpath_command
|
||||
MachOObjectFile::getRpathCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::rpath_command>(this, L.Ptr);
|
||||
}
|
||||
|
||||
MachO::source_version_command
|
||||
MachOObjectFile::getSourceVersionCommand(const LoadCommandInfo &L) const {
|
||||
return getStruct<MachO::source_version_command>(this, L.Ptr);
|
||||
|
Reference in New Issue
Block a user