aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCSectionMachO.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCSectionMachO.h')
-rw-r--r--include/llvm/MC/MCSectionMachO.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/MC/MCSectionMachO.h b/include/llvm/MC/MCSectionMachO.h
index 5839c281ed..465013c880 100644
--- a/include/llvm/MC/MCSectionMachO.h
+++ b/include/llvm/MC/MCSectionMachO.h
@@ -50,7 +50,6 @@ class MCSectionMachO : public MCSection {
SectionName[i] = 0;
}
}
-public:
static MCSectionMachO *Create(StringRef Segment,
StringRef Section,
@@ -58,6 +57,9 @@ public:
unsigned Reserved2,
SectionKind K, MCContext &Ctx);
+ friend class MCContext;
+public:
+
/// These are the section type and attributes fields. A MachO section can
/// have only one Type, but can have any of the attributes specified.
enum {