[PATCH] [lld][ELF] Ability to resolve undefined symbols lazily

Denis Protivensky dprotivensky at accesssoftek.com
Wed Mar 11 05:28:17 PDT 2015


Updated:

- removed const of StringRef
- added more symbols (__exidx_start/_end) with tests to show how it all works
- reworked the point of concern in DynamicSymbolFile::find() so it now uses unique_bump_ptr instead of llvm::Optional and the code is a bit cleaner
- fixed usage of findAbsoluteAtom iterators
- updated comments for LinkingContext::finalizeInputFiles


http://reviews.llvm.org/D8159

Files:
  include/lld/Core/LinkingContext.h
  include/lld/Core/Simple.h
  include/lld/ReaderWriter/ELFLinkingContext.h
  include/lld/ReaderWriter/MachOLinkingContext.h
  lib/Driver/Driver.cpp
  lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h
  lib/ReaderWriter/ELF/ELFLinkingContext.cpp
  lib/ReaderWriter/ELF/OutputELFWriter.h
  lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
  test/elf/ARM/missing-symbol.test
  test/elf/ARM/undef-lazy-symbol.test

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8159.21691.patch
Type: text/x-patch
Size: 22095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150311/6f9bbe2d/attachment.bin>


More information about the llvm-commits mailing list