LLDB: API for iPermission of object file's sections
authorAbhishek Aggarwal <abhishek.a.aggarwal@intel.com>
Thu, 8 Sep 2016 12:22:56 +0000 (12:22 +0000)
committerAbhishek Aggarwal <abhishek.a.aggarwal@intel.com>
Thu, 8 Sep 2016 12:22:56 +0000 (12:22 +0000)
commit3c7f070956c7305656d0bd4a59317c09a5186941
tree2733efddaf67ba2fbb81681016a09b206c322d83
parent2a526feec9e16be2624de041227cfe10d9d39ab4
LLDB: API for iPermission of object file's sections

 Summary:
 - Added an API to public interface that provides permissions (RWX) of
   individual sections of an object file

 - Earlier, there was no way to find out this information through SB
   APIs

 - A possible use case of this API is:
   when a user wants to know the sections that have executable machine
   instructions and want to write a tool on top of LLDB based on this
   information

 - Differential Revision: https://reviews.llvm.org/D24251

llvm-svn: 280924
lldb/include/lldb/API/SBSection.h
lldb/scripts/interface/SBSection.i
lldb/source/API/SBSection.cpp