mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Add printing the LC_ENCRYPTION_INFO load command with llvm-objdump’s -private-headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224390 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1128,6 +1128,14 @@ namespace llvm {
|
||||
sys::swapByteOrder(e.stacksize);
|
||||
}
|
||||
|
||||
inline void swapStruct(encryption_info_command &e) {
|
||||
sys::swapByteOrder(e.cmd);
|
||||
sys::swapByteOrder(e.cmdsize);
|
||||
sys::swapByteOrder(e.cryptoff);
|
||||
sys::swapByteOrder(e.cryptsize);
|
||||
sys::swapByteOrder(e.cryptid);
|
||||
}
|
||||
|
||||
inline void swapStruct(dysymtab_command &dst) {
|
||||
sys::swapByteOrder(dst.cmd);
|
||||
sys::swapByteOrder(dst.cmdsize);
|
||||
|
Reference in New Issue
Block a user