[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:
parent
8eea4f1c7d
commit
90d057d75e
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue