llvm-project/lld/test/mach-o
Nick Kledzik 5b9e48b4ce [mach-o] propagate dylib version numbers
Mach-o does not use a simple SO_NEEDED to track dependent dylibs.  Instead,
the linker copies four things from each dylib to each client: the runtime path
(aka "install name"), the build time, current version (dylib build number), and
compatibility version  The build time is no longer used (it cause every rebuild
of a dylib to be different).  The compatibility version is usually just 1.0
and never changes, or the dylib becomes incompatible.

This patch copies that information into the NormalizedMachO format and
propagates it to clients.

llvm-svn: 222300
2014-11-19 02:21:53 +00:00
..
Inputs [mach-o] Add support for -order_file option 2014-11-07 21:01:21 +00:00
PIE.yaml [mach-o] Add support for -pie and -no_pie 2014-09-09 00:17:52 +00:00
align_text.yaml [mach-o] extract atom alignment information from mach-o files 2014-11-18 00:30:25 +00:00
arm-interworking-movw.yaml [mach-o] Update test case to work with latest llvm-objdump output for ARM thumb 2014-11-06 19:12:28 +00:00
arm-interworking.yaml [mach-o] Add Pass to create are shim Atoms for ARM interworking. 2014-10-14 01:51:42 +00:00
arm-shims.yaml [mach-o] Add Pass to create are shim Atoms for ARM interworking. 2014-10-14 01:51:42 +00:00
arm-subsections-via-symbols.yaml [mach-o] Support missing MH_SUBSECTIONS_VIA_SYMBOLS 2014-10-21 23:45:37 +00:00
cstring-sections.yaml [mach-o] preserve custom section names on coalesable strings 2014-10-02 17:27:20 +00:00
data-only-dylib.yaml [mach-o] Support data-only dylibs 2014-10-24 22:19:22 +00:00
demangle.yaml [mach-o] Implement -demangle. 2014-09-30 23:15:39 +00:00
dependency_info.yaml Disable a Mach-O test on Windows that depends on Unix path separator. 2014-11-07 01:51:00 +00:00
dso_handle.yaml [mach-o] Support linker synthesized mach_header symbols. 2014-11-12 22:21:56 +00:00
dylib-exports.yaml [mach-o] Add support for using export tries 2014-09-03 19:52:50 +00:00
dylib-install-names.yaml [mach-o] propagate dylib version numbers 2014-11-19 02:21:53 +00:00
exe-offsets.yaml [mach-o] zero-fill sections have no file offset 2014-11-18 00:30:29 +00:00
exe-segment-overlap.yaml [mach-o] Support data-only dylibs 2014-10-24 22:19:22 +00:00
exported_symbols_list-dylib.yaml [mach-o] Fix initial live atoms with -dead_strip 2014-08-21 20:25:50 +00:00
exported_symbols_list-obj.yaml [mach-o] Add support for -exported_symbols_list and -keep_private_externs 2014-08-21 01:59:11 +00:00
exported_symbols_list-undef.yaml [mach-o] Add support for -exported_symbols_list and -keep_private_externs 2014-08-21 01:59:11 +00:00
fat-archive.yaml [mach-o] Support fat archives 2014-10-08 01:48:10 +00:00
filelist.yaml [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
force_load-dylib.yaml [mach-o] Fix crash when -all_load used with dylibs 2014-10-16 23:42:42 +00:00
force_load-x86_64.yaml [mach-o] Add support for -force_load option 2014-11-06 19:33:57 +00:00
framework-user-paths.yaml [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
got-order.yaml [mach-o] Sort GOT entries by name to make links reproducible 2014-11-12 23:34:23 +00:00
hello-world-arm64.yaml [mach-o] Use default for min OS version when not specified on command line. 2014-10-09 01:01:16 +00:00
hello-world-armv6.yaml [mach-o] Use default for min OS version when not specified on command line. 2014-10-09 01:01:16 +00:00
hello-world-armv7.yaml [mach-o] Use default for min OS version when not specified on command line. 2014-10-09 01:01:16 +00:00
hello-world-x86.yaml [mach-o] Use default for min OS version when not specified on command line. 2014-10-09 01:01:16 +00:00
hello-world-x86_64.yaml [mach-o] Use default for min OS version when not specified on command line. 2014-10-09 01:01:16 +00:00
image-base.yaml [mach-o]: support optional "0x" prefix for -image_base 2014-09-11 10:31:46 +00:00
infer-arch.yaml [mach-o] Let darwin driver infer arch from .o files if -arch not used. 2014-09-04 20:08:30 +00:00
interposing-section.yaml [mach-o] Add support for interposing tuples section 2014-11-06 01:14:09 +00:00
keep_private_externs.yaml [mach-o] Add support for -exported_symbols_list and -keep_private_externs 2014-08-21 01:59:11 +00:00
lazy-bind-x86_64.yaml [mach-o] propagate dylib version numbers 2014-11-19 02:21:53 +00:00
lib-search-paths.yaml Subclass InputGraph to get darwin linker library semantics 2014-10-21 21:14:11 +00:00
library-order.yaml Subclass InputGraph to get darwin linker library semantics 2014-10-21 21:14:11 +00:00
library-rescan.yaml Subclass InputGraph to get darwin linker library semantics 2014-10-21 21:14:11 +00:00
libresolve-bizarre-root-override.yaml [mach-o] Add support for upward linking 2014-10-16 19:31:28 +00:00
libresolve-multiple-syslibroots.yaml [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
libresolve-one-syslibroot.yaml [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
libresolve-simple.yaml [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
libresolve-user-paths.yaml [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
libresolve-z.yaml [mach-o] Support -filelist option in darwin driver 2014-08-15 19:53:41 +00:00
linker-as-ld.yaml If lld is renamed (or symlinked) to "ld" automatically pick the right flavor. 2014-09-11 00:52:05 +00:00
lit.local.cfg [mach-o] add representation for LC_ID_DYLIB to MachONormalizedFile 2014-07-01 08:15:41 +00:00
mh_bundle_header.yaml [mach-o] Support linker synthesized mach_header symbols. 2014-11-12 22:21:56 +00:00
mh_dylib_header.yaml [mach-o] Support linker synthesized mach_header symbols. 2014-11-12 22:21:56 +00:00
objc_export_list.yaml [mach-o] Support old style objc class names in export lists 2014-10-24 22:28:54 +00:00
order_file-basic.yaml [mach-o] Add support for -order_file option 2014-11-07 21:01:21 +00:00
parse-aliases.yaml [mach-o] parse multiple symbols on same address into aliases 2014-06-09 23:35:37 +00:00
parse-arm-relocs.yaml [mach-o] for 32-bit arm, in -r mode support B (not BL) to undefined symbol 2014-11-18 22:08:50 +00:00
parse-cfstring32.yaml [mach-o] add parsing of x86 relocations 2014-07-02 23:52:22 +00:00
parse-cfstring64.yaml [mach-o] refactor x86_64 relocation handling. 2014-06-27 18:25:01 +00:00
parse-compact-unwind32.yaml [mach-o] Refactor sections -> atoms to be table driven. 2014-06-03 23:36:50 +00:00
parse-compact-unwind64.yaml [mach-0] Add support for parsing compact unwind info section 2014-05-29 23:50:48 +00:00
parse-data-in-code-armv7.yaml [mach-o] generate LC_DATA_IN_CODE in final linked images 2014-10-28 22:21:10 +00:00
parse-data-in-code-x86.yaml [mach-o] Add support for LC_DATA_IN_CODE 2014-07-24 23:06:56 +00:00
parse-data-relocs-arm64.yaml [mach-o] enhance arm64 reloc parser to support local pointer relocations 2014-11-18 00:30:17 +00:00
parse-data-relocs-x86_64.yaml [mach-o] Support missing MH_SUBSECTIONS_VIA_SYMBOLS 2014-10-21 23:45:37 +00:00
parse-data.yaml [mach-o] Refactor sections -> atoms to be table driven. 2014-06-03 23:36:50 +00:00
parse-eh-frame-x86-anon.yaml [mach-o] avoid overly clever std::find_if 2014-10-15 20:26:24 +00:00
parse-eh-frame-x86-labeled.yaml [mach-o] add support for old x86 __eh_frame sections 2014-07-21 22:06:57 +00:00
parse-eh-frame.yaml [mach-o] avoid overly clever std::find_if 2014-10-15 20:26:24 +00:00
parse-function.yaml [mach-o] support N_NO_DEAD_STRIP nlist.desc bit 2014-08-21 22:18:30 +00:00
parse-initializers32.yaml [mach-o] Add support for initializers and terminators in object files 2014-05-27 23:20:52 +00:00
parse-initializers64.yaml [mach-o] refactor x86_64 relocation handling. 2014-06-27 18:25:01 +00:00
parse-literals-error.yaml [mach-o] Fix so that mach-o semantic errors return an error rather than assert 2014-05-22 20:05:43 +00:00
parse-literals.yaml [mach-o]: atomize zero-terminated literals correctly. 2014-06-25 11:21:51 +00:00
parse-non-lazy-pointers.yaml [mach-o] add parsing of x86 relocations 2014-07-02 23:52:22 +00:00
parse-relocs-x86.yaml [mach-o] Add support for x86 pointers which use scattered relocations 2014-07-18 01:05:35 +00:00
parse-section-no-symbol.yaml [mach-o] don't assume all sections have symbols 2014-06-25 10:59:37 +00:00
parse-tentative-defs.yaml [mach-o] Add support and test cases for parsing tentative definitions 2014-05-15 20:59:23 +00:00
parse-text-relocs-arm64.yaml [mach-o] Add support for arm64 (AAarch64) 2014-09-09 23:52:59 +00:00
parse-text-relocs-x86_64.yaml [mach-o] use the addend in GOT-based relocations. 2014-10-30 18:01:07 +00:00
re-exported-dylib-ordinal.yaml [mach-o] Support re-exported dylibs 2014-08-13 23:55:41 +00:00
sectalign.yaml [mach-o] Fix stub generation to work for dylibs and bundles 2014-08-13 23:31:07 +00:00
unwind-info-simple-x86_64.yaml [mach-o] remove __compact_unwind atoms once __unwind_info has been generated 2014-11-04 21:57:32 +00:00
upward-dylib-load-command.yaml [mach-o] Add support for upward linking 2014-10-16 19:31:28 +00:00
upward-dylib-paths.yaml [mach-o] Add support for upward linking 2014-10-16 19:31:28 +00:00
usage.yaml [mach-o] Fix so no options causes usage message to be printed 2014-09-09 00:45:35 +00:00
use-simple-dylib.yaml [mach-o] add representation for LC_ID_DYLIB to MachONormalizedFile 2014-07-01 08:15:41 +00:00
write-final-sections.yaml [mach-o] remove extra leading underscore on __bss and __got 2014-11-06 01:14:12 +00:00
wrong-arch-error.yaml [mach-o] improve errors when mixing architectures 2014-06-30 22:57:33 +00:00