[PATCH] D97715: [lld/mac] Prefix errors with "ld64.lld" instead of just "lld"
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 1 12:08:58 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbacacb9d5c97: [lld/mac] Prefix errors with "ld64.lld" instead of just "lld" (authored by thakis).
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97715/new/
https://reviews.llvm.org/D97715
Files:
lld/MachO/Driver.cpp
Index: lld/MachO/Driver.cpp
===================================================================
--- lld/MachO/Driver.cpp
+++ lld/MachO/Driver.cpp
@@ -712,10 +712,12 @@
lld::stdoutOS = &stdoutOS;
lld::stderrOS = &stderrOS;
+ errorHandler().cleanupCallback = []() { freeArena(); };
+
+ errorHandler().logName = args::getFilenameWithoutExe(argsArr[0]);
stderrOS.enable_colors(stderrOS.has_colors());
// TODO: Set up error handler properly, e.g. the errorLimitExceededMsg
- errorHandler().cleanupCallback = []() { freeArena(); };
MachOOptTable parser;
opt::InputArgList args = parser.parse(argsArr.slice(1));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97715.327234.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210301/b040dfbd/attachment.bin>
More information about the llvm-commits
mailing list