summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-12-17 01:01:30 +0000
committerKevin Enderby <enderby@apple.com>2014-12-17 01:01:30 +0000
commit57538299e85599efd2b4673f9fefbbf4c84a9bf9 (patch)
tree6ae752efef67251fe3fb0bd65146ff5413cdeed1 /llvm/lib/Object/MachOObjectFile.cpp
parent8b979f01c655a694cb0ad5f58f74e21db903d27c (diff)
downloadbcm5719-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.cpp5
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 {
OpenPOWER on IntegriCloud