summaryrefslogtreecommitdiffstats
path: root/lld/ELF/MapFile.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-07-02 08:26:20 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-07-02 08:26:20 +0000
commit90d057d75e438763c86c847a91146d4bb2bd4be0 (patch)
tree16eb2d462e6bedd9698ccdce2e178070065d6a8e /lld/ELF/MapFile.cpp
parent8eea4f1c7d20d88c0d4bfb62c2447879895ce421 (diff)
downloadbcm5719-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.cpp2
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';
OpenPOWER on IntegriCloud