summaryrefslogtreecommitdiffstats
path: root/lld/ELF/MapFile.cpp
diff options
context:
space:
mode:
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 c341049fb68..9f128f66f24 100644
--- a/lld/ELF/MapFile.cpp
+++ b/lld/ELF/MapFile.cpp
@@ -107,7 +107,7 @@ static void writeMapFile2(raw_fd_ostream &OS,
OS << '\n';
StringRef PrevName = "";
- Sec->forEachInputSection([&](InputSectionData *S) {
+ Sec->forEachInputSection([&](InputSectionBase *S) {
if (const auto *IS = dyn_cast<InputSection<ELFT>>(S))
writeInputSection(OS, IS, PrevName);
});
OpenPOWER on IntegriCloud