[PATCH] D16093: Allow context to report errors on files linked in the resolver

Pete Cooper via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 15:45:17 PST 2016


pete created this revision.
pete added reviewers: kledzik, lhames, rafael, ruiu.
pete added a subscriber: llvm-commits.
pete added a project: lld.
Herald added a subscriber: aemerson.

Hi all

I'm trying to find a good place to give errors on files which differ in an unrecoverable way.  For example, one file has been linked for the iOS simulator while another is normal x86 code, or perhaps linking arm and x86 code.

I've not yet added the checks for these errors, but wanted to see if you are all happy with the placement of the callback and the plumbing necessary to get the errors through the resolver.

Thanks,
Pete

http://reviews.llvm.org/D16093

Files:
  include/lld/Core/LinkingContext.h
  include/lld/Core/Resolver.h
  include/lld/ReaderWriter/MachOLinkingContext.h
  lib/Core/Resolver.cpp
  lib/ReaderWriter/MachO/MachOLinkingContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16093.44572.patch
Type: text/x-patch
Size: 9162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160111/e8826941/attachment.bin>


More information about the llvm-commits mailing list