summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/TargetLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/TargetLayout.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/TargetLayout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/lib/ReaderWriter/ELF/TargetLayout.h b/lld/lib/ReaderWriter/ELF/TargetLayout.h
index 7162cd5fe08..f35bf031146 100644
--- a/lld/lib/ReaderWriter/ELF/TargetLayout.h
+++ b/lld/lib/ReaderWriter/ELF/TargetLayout.h
@@ -209,6 +209,9 @@ public:
// Output sections with the same name into a OutputSection
void createOutputSections();
+ // Check that output section has proper segment set
+ void checkOutputSectionSegment(const OutputSection<ELFT> *sec);
+
/// \brief Sort the sections by their order as defined by the layout,
/// preparing all sections to be assigned to a segment.
virtual void sortInputSections();
OpenPOWER on IntegriCloud