diff options
author | Kevin Enderby <enderby@apple.com> | 2014-12-23 22:56:39 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2014-12-23 22:56:39 +0000 |
commit | 48ef534b7423df934248de5c1400700501b687a8 (patch) | |
tree | 4ce768dd3cff24b82aec24adaeb4ed93ceb0830a /llvm/lib/Object/MachOObjectFile.cpp | |
parent | ca18fe1d1a89b4027646dbff8c4fb49084e9d871 (diff) | |
download | bcm5719-llvm-48ef534b7423df934248de5c1400700501b687a8.tar.gz bcm5719-llvm-48ef534b7423df934248de5c1400700501b687a8.zip |
Add printing the LC_THREAD load commands with llvm-objdump’s -private-headers.
llvm-svn: 224792
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 45439482ca2..1373dbab410 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -2342,6 +2342,11 @@ MachOObjectFile::getRoutinesCommand64(const LoadCommandInfo &L) const { return getStruct<MachO::routines_command_64>(this, L.Ptr); } +MachO::thread_command +MachOObjectFile::getThreadCommand(const LoadCommandInfo &L) const { + return getStruct<MachO::thread_command>(this, L.Ptr); +} + MachO::any_relocation_info MachOObjectFile::getRelocation(DataRefImpl Rel) const { DataRefImpl Sec; |