diff options
author | Tim Northover <Tim.Northover@arm.com> | 2012-12-17 17:59:32 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2012-12-17 17:59:32 +0000 |
commit | 1c2b2f9c56c01aa1c317da4fd0234eaa1fe6e739 (patch) | |
tree | c9a50c3e1d261072b9a81cb9efb07b20f45b281c /include/llvm/Object/MachOFormat.h | |
parent | 2dfa3eb56679fcb0ac36d2956924e59acf4fc19e (diff) |
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/llvm/Object/MachOFormat.h')
-rw-r--r-- | include/llvm/Object/MachOFormat.h | 4 |
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]; |