[ELF] - Change dyn_cast to cast. NFC.

This is followup for r335958.

Thanks to Rui for noticing.

llvm-svn: 336082
This commit is contained in:
George Rimar 2018-07-02 08:26:20 +00:00
parent 8eea4f1c7d
commit 90d057d75e
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ void elf::writeMapFile() {
continue;
}
auto *OSec = dyn_cast<OutputSection>(Base);
auto *OSec = cast<OutputSection>(Base);
writeHeader(OS, OSec->Addr, OSec->getLMA(), OSec->Size, OSec->Alignment);
OS << OSec->Name << '\n';