Add comment.

llvm-svn: 315423
This commit is contained in:
Rui Ueyama 2017-10-11 03:23:17 +00:00
parent 2b714b56a9
commit ec5c4adbf2
1 changed files with 3 additions and 0 deletions

View File

@ -275,6 +275,9 @@ LinkerScript::computeInputSections(const InputSectionDescription *Cmd) {
!Pat.SectionPat.match(Sec->Name))
continue;
// It is safe to assume that Sec is an InputSection
// because mergeable or EH input sections have already been
// handled and eliminated.
Ret.push_back(cast<InputSection>(Sec));
Sec->Assigned = true;
}