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)
commit3f31fa05d5471deeee6164a8bdcfe75ca004e062
treedcfdb4ff7c201fd5fb6007f919b5e06eb2785302
parent9c8dcfc73a25704814d5ea90f3714de794788c56
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.

llvm-svn: 165586
llvm/include/llvm/Object/COFF.h
llvm/include/llvm/Object/ELF.h
llvm/include/llvm/Object/MachO.h
llvm/include/llvm/Object/ObjectFile.h
llvm/lib/Object/COFFObjectFile.cpp
llvm/lib/Object/MachOObjectFile.cpp