summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2015-12-04 22:22:15 +0000
committerAdrian McCarthy <amccarth@google.com>2015-12-04 22:22:15 +0000
commit0c35cde9b1fd0e7b54e77e7ba14116af6aae0ea9 (patch)
treef71047ab9225277c30fa4cfe4a30d7596058c033 /lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
parent072bff80362c24ae81a4e5a3feff2caa128aec10 (diff)
downloadbcm5719-llvm-0c35cde9b1fd0e7b54e77e7ba14116af6aae0ea9.tar.gz
bcm5719-llvm-0c35cde9b1fd0e7b54e77e7ba14116af6aae0ea9.zip
Implement GetMemoryRegionInfo for mini dumps.
Differential Revision: http://reviews.llvm.org/D15218 llvm-svn: 254780
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h')
-rw-r--r--lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
index d367dcdc044..2a437c0ca90 100644
--- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
+++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
@@ -34,6 +34,17 @@ public:
size_t PutSTDIN(const char *buf, size_t buf_size, lldb_private::Error &error) override;
lldb::addr_t GetImageInfoAddress() override;
+
+protected:
+ // These decode the page protection bits.
+ static bool
+ IsPageReadable(uint32_t protect);
+
+ static bool
+ IsPageWritable(uint32_t protect);
+
+ static bool
+ IsPageExecutable(uint32_t protect);
};
}
OpenPOWER on IntegriCloud