diff options
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 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); }); |