hanchenye-llvm-project/lld/test/mach-o/Inputs
Nick Kledzik a721db24c0 Subclass InputGraph to get darwin linker library semantics
The darwin linker operates differently than the gnu linker with respect to
libraries. The darwin linker first links in all object files from the command
line, then to resolve any remaining undefines, it repeatedly iterates over
libraries on the command line until either all undefines are resolved or no
undefines were resolved in the last pass.

When Shankar made the InputGraph model, the plan for darwin was for the darwin
driver to place all libraries in a group at the end of the InputGraph. Thus
making the darwin model a subset of the gnu model. But it turns out that does
not work because the driver cannot tell if a file is an object or library until
it has been loaded, which happens later.

This solution is to subclass InputGraph for darwin and just iterate the graph
the way darwin linker needs.

llvm-svn: 220330
2014-10-21 21:14:11 +00:00
..
lib-search-paths/usr
DependencyDump.py [mach-o] Add support for -dependency_info command line option 2014-10-04 00:16:13 +00:00
bar.yaml [mach-o] Add support for upward linking 2014-10-16 19:31:28 +00:00
exported_symbols_list.exp [mach-o] Add support for -exported_symbols_list and -keep_private_externs 2014-08-21 01:59:11 +00:00
full.filelist [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
libSystem.yaml [mach-o] Fix stub generation to work for dylibs and bundles 2014-08-13 23:31:07 +00:00
libbar.a Subclass InputGraph to get darwin linker library semantics 2014-10-21 21:14:11 +00:00
libfoo.a [mach-o] Support fat archives 2014-10-08 01:48:10 +00:00
partial.filelist [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
use-dylib-install-names.yaml