summaryrefslogtreecommitdiffstats
path: root/lld/ELF/MapFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-02-23 02:32:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-02-23 02:32:18 +0000
commitc404d50d7c085e668af38c1fe1d0078bc1520960 (patch)
treecd51d9f1879aa547097ad489d8bdf6263aeb689c /lld/ELF/MapFile.cpp
parentb4c9b81aadd03e35c6467aece70687b4009b446f (diff)
downloadbcm5719-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.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