diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-01-09 18:43:11 +0900 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-01-09 18:43:11 +0900 |
commit | 0e1a753549b29ff1f5a190aca83b803a33b51628 (patch) | |
tree | e5578f8810c65711304128d0c8add7fa1f77b9d8 /lld/wasm/MapFile.cpp | |
parent | 3c6252260ee11e3a453076b4d96ffffe20d49998 (diff) | |
parent | bdcf47e4bcb92889665825654bb80a8bbe30379e (diff) | |
download | llvm-users/chapuni/cov/single/if.zip llvm-users/chapuni/cov/single/if.tar.gz llvm-users/chapuni/cov/single/if.tar.bz2 |
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/single/ifusers/chapuni/cov/single/if
Conflicts:
clang/lib/CodeGen/CoverageMappingGen.cpp
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 c96b64c..d8487e4 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; } |