aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-11-27 13:58:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-11-27 13:58:16 +0000
commit71130f8aa1cef096083b95267a8a688a3bef6426 (patch)
tree8e59931bc6a7906b72e98e26f832a55039361bf2 /include/llvm/Object
parent2208b58b83392b2a3558e556c7447b13c3aea857 (diff)
downloadexternal_llvm-71130f8aa1cef096083b95267a8a688a3bef6426.zip
external_llvm-71130f8aa1cef096083b95267a8a688a3bef6426.tar.gz
external_llvm-71130f8aa1cef096083b95267a8a688a3bef6426.tar.bz2
macho-dump: Add support for --dump-section-data and tweak a few format strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/MachOObject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Object/MachOObject.h b/include/llvm/Object/MachOObject.h
index 6c0a1d0..03d9c14 100644
--- a/include/llvm/Object/MachOObject.h
+++ b/include/llvm/Object/MachOObject.h
@@ -102,6 +102,8 @@ public:
return Is64Bit ? macho::Header64Size : macho::Header32Size;
}
+ StringRef getData(size_t Offset, size_t Size) const;
+
/// @}
/// @name String Table Data
/// @{