diff options
| author | Michael Kruse <llvm-project@meinersbur.de> | 2025-01-03 10:22:51 +0100 |
|---|---|---|
| committer | Michael Kruse <llvm-project@meinersbur.de> | 2025-01-03 10:22:51 +0100 |
| commit | 38500d63e14ce340236840f60d356cdefb56a52c (patch) | |
| tree | 17edbec446ce9b50d2f215a483b83afb293a635d /lld/wasm/MapFile.cpp | |
| parent | 1a3d5daaef7a6a63448a497da3eff7fc9e23df26 (diff) | |
| parent | 27f30029741ecf023baece7b3dde1ff9011ffefc (diff) | |
Merge branch 'main' into users/meinersbur/flang_runtime_split-headersusers/meinersbur/flang_runtime_split-headers
Diffstat (limited to 'lld/wasm/MapFile.cpp')
| -rw-r--r-- | lld/wasm/MapFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/wasm/MapFile.cpp b/lld/wasm/MapFile.cpp index c96b64cb6483..d8487e48b8c6 100644 --- a/lld/wasm/MapFile.cpp +++ b/lld/wasm/MapFile.cpp @@ -103,14 +103,14 @@ getSymbolStrings(ArrayRef<Symbol *> syms) { } void lld::wasm::writeMapFile(ArrayRef<OutputSection *> outputSections) { - if (config->mapFile.empty()) + if (ctx.arg.mapFile.empty()) return; // Open a map file for writing. std::error_code ec; - raw_fd_ostream os(config->mapFile, ec, sys::fs::OF_None); + raw_fd_ostream os(ctx.arg.mapFile, ec, sys::fs::OF_None); if (ec) { - error("cannot open " + config->mapFile + ": " + ec.message()); + error("cannot open " + ctx.arg.mapFile + ": " + ec.message()); return; } |
