summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2012-12-17 17:59:32 +0000
committerTim Northover <Tim.Northover@arm.com>2012-12-17 17:59:32 +0000
commit1c2b2f9c56c01aa1c317da4fd0234eaa1fe6e739 (patch)
treec9a50c3e1d261072b9a81cb9efb07b20f45b281c /include
parent2dfa3eb56679fcb0ac36d2956924e59acf4fc19e (diff)
downloadllvm-1c2b2f9c56c01aa1c317da4fd0234eaa1fe6e739.tar.gz
llvm-1c2b2f9c56c01aa1c317da4fd0234eaa1fe6e739.tar.bz2
llvm-1c2b2f9c56c01aa1c317da4fd0234eaa1fe6e739.tar.xz
Teach MachO which sections contain code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Object/MachOFormat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Object/MachOFormat.h b/include/llvm/Object/MachOFormat.h
index c0f700d3c8..a17d58dae2 100644
--- a/include/llvm/Object/MachOFormat.h
+++ b/include/llvm/Object/MachOFormat.h
@@ -237,6 +237,10 @@ namespace macho {
/// @name Section Data
/// @{
+ enum SectionFlags {
+ SF_PureInstructions = 0x80000000
+ };
+
struct Section {
char Name[16];
char SegmentName[16];