diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-07-02 08:26:20 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-07-02 08:26:20 +0000 |
commit | 90d057d75e438763c86c847a91146d4bb2bd4be0 (patch) | |
tree | 16eb2d462e6bedd9698ccdce2e178070065d6a8e /lld/ELF/MapFile.cpp | |
parent | 8eea4f1c7d20d88c0d4bfb62c2447879895ce421 (diff) | |
download | bcm5719-llvm-90d057d75e438763c86c847a91146d4bb2bd4be0.tar.gz bcm5719-llvm-90d057d75e438763c86c847a91146d4bb2bd4be0.zip |
[ELF] - Change dyn_cast to cast. NFC.
This is followup for r335958.
Thanks to Rui for noticing.
llvm-svn: 336082
Diffstat (limited to 'lld/ELF/MapFile.cpp')
-rw-r--r-- | lld/ELF/MapFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp index 2802691fb6e..54fddfb7b29 100644 --- a/lld/ELF/MapFile.cpp +++ b/lld/ELF/MapFile.cpp @@ -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'; |