mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
[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:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user