mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Add printing the LC_SUB_FRAMEWORK load command with llvm-objdump’s -private-headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224534 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -368,6 +368,8 @@ public:
|
||||
getEncryptionInfoCommand(const LoadCommandInfo &L) const;
|
||||
MachO::encryption_info_command_64
|
||||
getEncryptionInfoCommand64(const LoadCommandInfo &L) const;
|
||||
MachO::sub_framework_command
|
||||
getSubFrameworkCommand(const LoadCommandInfo &L) const;
|
||||
|
||||
MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
|
||||
MachO::data_in_code_entry getDice(DataRefImpl Rel) const;
|
||||
|
||||
@@ -1107,6 +1107,12 @@ namespace llvm {
|
||||
sys::swapByteOrder(d.dylib.compatibility_version);
|
||||
}
|
||||
|
||||
inline void swapStruct(sub_framework_command &s) {
|
||||
sys::swapByteOrder(s.cmd);
|
||||
sys::swapByteOrder(s.cmdsize);
|
||||
sys::swapByteOrder(s.umbrella);
|
||||
};
|
||||
|
||||
inline void swapStruct(dylinker_command &d) {
|
||||
sys::swapByteOrder(d.cmd);
|
||||
sys::swapByteOrder(d.cmdsize);
|
||||
|
||||
Reference in New Issue
Block a user