summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-02-22 19:41:02 +0000
committerGreg Clayton <gclayton@apple.com>2012-02-22 19:41:02 +0000
commitc2ff9318a2c2d4de183267b27784c538390e3af7 (patch)
tree856f20b4b58b19eca25b58ed50bc65ae66ed6bcc /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
parent7f7a0c6560569714fc2911bfcb14e1f44f7a588f (diff)
downloadbcm5719-llvm-c2ff9318a2c2d4de183267b27784c538390e3af7.tar.gz
bcm5719-llvm-c2ff9318a2c2d4de183267b27784c538390e3af7.zip
Added the ability to get a ObjectFile versions from the ObjectFile
subclasses if the object files support version numbering. Exposed this through SBModule for upcoming data formatter version checking stuff. llvm-svn: 151190
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h')
-rw-r--r--lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
index 918b9216179..4ffc7df7961 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
@@ -139,6 +139,9 @@ public:
virtual ObjectFile::Strata
CalculateStrata();
+ virtual uint32_t
+ GetVersion (uint32_t *versions, uint32_t num_versions);
+
protected:
mutable lldb_private::Mutex m_mutex;
llvm::MachO::mach_header m_header;
OpenPOWER on IntegriCloud