This patch adds new functions to the SectionRef and ObjectFile interfaces to determin...
authorAndrew Kaylor <andrew.kaylor@intel.com>
Wed, 10 Oct 2012 01:41:33 +0000 (01:41 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Wed, 10 Oct 2012 01:41:33 +0000 (01:41 +0000)
commit3a129c85920404e7ccdb7e655c89fa60a0309cfd
treea6e7173e382ee097c4f705846189252491eb8971
parent97d9f081a92c18bb4fd1c069dccde7c99301150a
This patch adds new functions to the SectionRef and ObjectFile interfaces to determine whether or not a section is meant to be read-only.  These functions will be used by the MCJIT RuntimeDyld to give hints to the memory manager during the object loading process in a future patch.

Patch by Ashok Thirumurthi.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165586 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/COFF.h
include/llvm/Object/ELF.h
include/llvm/Object/MachO.h
include/llvm/Object/ObjectFile.h
lib/Object/COFFObjectFile.cpp
lib/Object/MachOObjectFile.cpp