summaryrefslogtreecommitdiffstats
path: root/lld/COFF/MapFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/MapFile.cpp')
-rw-r--r--lld/COFF/MapFile.cpp2
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);
OpenPOWER on IntegriCloud