diff options
author | Kevin Enderby <enderby@apple.com> | 2014-12-17 01:01:30 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2014-12-17 01:01:30 +0000 |
commit | 57538299e85599efd2b4673f9fefbbf4c84a9bf9 (patch) | |
tree | 6ae752efef67251fe3fb0bd65146ff5413cdeed1 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 8b979f01c655a694cb0ad5f58f74e21db903d27c (diff) | |
download | bcm5719-llvm-57538299e85599efd2b4673f9fefbbf4c84a9bf9.tar.gz bcm5719-llvm-57538299e85599efd2b4673f9fefbbf4c84a9bf9.zip |
Add printing the LC_ENCRYPTION_INFO_64 load command with llvm-objdump’s -private-headers
and add tests for the two AArch64 binaries.
llvm-svn: 224400
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/MachOObjectFile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index 86b640fba47..0e96bc7ff72 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -2304,6 +2304,11 @@ MachOObjectFile::getEncryptionInfoCommand(const LoadCommandInfo &L) const { return getStruct<MachO::encryption_info_command>(this, L.Ptr); } +MachO::encryption_info_command_64 +MachOObjectFile::getEncryptionInfoCommand64(const LoadCommandInfo &L) const { + return getStruct<MachO::encryption_info_command_64>(this, L.Ptr); +} + MachO::any_relocation_info MachOObjectFile::getRelocation(DataRefImpl Rel) const { |