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 55a1cd942ab8..e3531c04e774 100644 --- a/lld/COFF/MapFile.cpp +++ b/lld/COFF/MapFile.cpp @@ -209,7 +209,7 @@ void lld::coff::writeMapFile(COFFLinkerContext &ctx) { std::error_code ec; raw_fd_ostream os(ctx.config.mapFile, ec, sys::fs::OF_None); if (ec) - fatal("cannot open " + ctx.config.mapFile + ": " + ec.message()); + Fatal(ctx) << "cannot open " << ctx.config.mapFile << ": " << ec.message(); ScopedTimer t1(ctx.totalMapTimer); |
