diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-02-23 02:32:18 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-02-23 02:32:18 +0000 |
| commit | c404d50d7c085e668af38c1fe1d0078bc1520960 (patch) | |
| tree | cd51d9f1879aa547097ad489d8bdf6263aeb689c /lld/ELF/MapFile.cpp | |
| parent | b4c9b81aadd03e35c6467aece70687b4009b446f (diff) | |
| download | bcm5719-llvm-c404d50d7c085e668af38c1fe1d0078bc1520960.tar.gz bcm5719-llvm-c404d50d7c085e668af38c1fe1d0078bc1520960.zip | |
Merge InputSectionData and InputSectionBase.
Now that InputSectionBase is not a template there is no reason to have
the two.
llvm-svn: 295924
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); }); |

