[PATCH] D92437: [mac/lld] Include archive name in diagnostics
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 16:32:59 PST 2020
thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added subscribers: steven_wu, hiraditya.
thakis requested review of this revision.
Also, for .o files, include full path as given on link command line.
Before:
lld: error: undefined symbol [...], referenced from sandbox_logging.o
After:
lld: error: undefined symbol [...], referenced from libseatbelt.a(sandbox_logging.o)
Move archiveName up to InputFile so we can consistently use toString()
to print InputFiles in diags, and pass it to the ObjFile ctor. This
matches the ELF and COFF ports.
https://reviews.llvm.org/D92437
Files:
lld/MachO/Driver.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputFiles.h
lld/MachO/LTO.cpp
lld/MachO/Writer.cpp
lld/test/MachO/invalid/undefined-symbol.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92437.308812.patch
Type: text/x-patch
Size: 8573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/58b1d622/attachment.bin>
More information about the llvm-commits
mailing list