diff options
Diffstat (limited to 'lld/ELF/MapFile.cpp')
| -rw-r--r-- | lld/ELF/MapFile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp index 4e28fabfa04..9fb58d95cc8 100644 --- a/lld/ELF/MapFile.cpp +++ b/lld/ELF/MapFile.cpp @@ -102,8 +102,7 @@ static void writeMapFile2(raw_fd_ostream &OS, << " Align Out In File Symbol\n"; for (OutputSectionBase *Sec : OutputSections) { - writeOutSecLine(OS, Width, Sec->Addr, Sec->Size, Sec->Addralign, - Sec->getName()); + writeOutSecLine(OS, Width, Sec->Addr, Sec->Size, Sec->Addralign, Sec->Name); OS << '\n'; StringRef PrevName = ""; |

