diff options
Diffstat (limited to 'lld/COFF/MapFile.cpp')
-rw-r--r-- | lld/COFF/MapFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/MapFile.cpp b/lld/COFF/MapFile.cpp index b5aec6cfa90..6ca1b6647bd 100644 --- a/lld/COFF/MapFile.cpp +++ b/lld/COFF/MapFile.cpp @@ -108,7 +108,7 @@ void coff::writeMapFile(ArrayRef<OutputSection *> OutputSections) { // Print out file contents. for (OutputSection *Sec : OutputSections) { writeHeader(OS, Sec->getRVA(), Sec->getVirtualSize(), /*Align=*/PageSize); - OS << Sec->getName() << '\n'; + OS << Sec->Name << '\n'; for (Chunk *C : Sec->getChunks()) { auto *SC = dyn_cast<SectionChunk>(C); |