diff options
author | Adrian McCarthy <amccarth@google.com> | 2015-12-04 22:22:15 +0000 |
---|---|---|
committer | Adrian McCarthy <amccarth@google.com> | 2015-12-04 22:22:15 +0000 |
commit | 0c35cde9b1fd0e7b54e77e7ba14116af6aae0ea9 (patch) | |
tree | f71047ab9225277c30fa4cfe4a30d7596058c033 /lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h | |
parent | 072bff80362c24ae81a4e5a3feff2caa128aec10 (diff) | |
download | bcm5719-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.h | 11 |
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); }; } |