]> git.saurik.com Git - apple/ld64.git/commit - unit-tests/test-cases/weak_import-force/main.c
ld64-123.2.tar.gz developer-tools-40 v123.2
authorApple <opensource@apple.com>
Fri, 10 Dec 2010 22:41:27 +0000 (22:41 +0000)
committerApple <opensource@apple.com>
Fri, 10 Dec 2010 22:41:27 +0000 (22:41 +0000)
commita645023da60d22e86be13f7b4d97adeff8bc6665
treed5e118eebdfc37fc31958ac23e0907dcce3be74d
parent07feaf2cb00322d025073eb8ec22189ada5e4180
ld64-123.2.tar.gz
317 files changed:
ChangeLog
doc/man/man1/dyldinfo.1
doc/man/man1/ld.1
ld64.xcodeproj/project.pbxproj
src/abstraction/FileAbstraction.hpp
src/abstraction/MachOFileAbstraction.hpp
src/abstraction/MachOTrie.hpp
src/ld/Architectures.hpp
src/ld/ArchiveReader.hpp [deleted file]
src/ld/ExecutableFile.h [deleted file]
src/ld/HeaderAndLoadCommands.hpp [new file with mode: 0644]
src/ld/InputFiles.cpp [new file with mode: 0644]
src/ld/InputFiles.h [new file with mode: 0644]
src/ld/LTOReader.hpp [deleted file]
src/ld/LinkEdit.hpp [new file with mode: 0644]
src/ld/LinkEditClassic.hpp [new file with mode: 0644]
src/ld/MachOReaderDylib.hpp [deleted file]
src/ld/MachOReaderRelocatable.hpp [deleted file]
src/ld/MachOWriterExecutable.hpp [deleted file]
src/ld/ObjectFile.h [deleted file]
src/ld/OpaqueSection.hpp [deleted file]
src/ld/Options.cpp
src/ld/Options.h
src/ld/OutputFile.cpp [new file with mode: 0644]
src/ld/OutputFile.h [new file with mode: 0644]
src/ld/Resolver.cpp [new file with mode: 0644]
src/ld/Resolver.h [new file with mode: 0644]
src/ld/SectCreate.h [deleted file]
src/ld/SymbolTable.cpp [new file with mode: 0644]
src/ld/SymbolTable.h [new file with mode: 0644]
src/ld/debugline.c
src/ld/debugline.h
src/ld/ld.cpp
src/ld/ld.hpp [new file with mode: 0644]
src/ld/lto_file.hpp [new file with mode: 0644]
src/ld/parsers/archive_file.cpp [new file with mode: 0644]
src/ld/parsers/archive_file.h [new file with mode: 0644]
src/ld/parsers/lto_file.cpp [new file with mode: 0644]
src/ld/parsers/lto_file.h [new file with mode: 0644]
src/ld/parsers/macho_dylib_file.cpp [new file with mode: 0644]
src/ld/parsers/macho_dylib_file.h [new file with mode: 0644]
src/ld/parsers/macho_relocatable_file.cpp [new file with mode: 0644]
src/ld/parsers/macho_relocatable_file.h [new file with mode: 0644]
src/ld/parsers/opaque_section_file.cpp [new file with mode: 0644]
src/ld/parsers/opaque_section_file.h [new file with mode: 0644]
src/ld/passes/branch_island.cpp [new file with mode: 0644]
src/ld/passes/branch_island.h [new file with mode: 0644]
src/ld/passes/branch_shim.cpp [new file with mode: 0644]
src/ld/passes/branch_shim.h [new file with mode: 0644]
src/ld/passes/compact_unwind.cpp [new file with mode: 0644]
src/ld/passes/compact_unwind.h [new file with mode: 0644]
src/ld/passes/dtrace_dof.cpp [new file with mode: 0644]
src/ld/passes/dtrace_dof.h [new file with mode: 0644]
src/ld/passes/dylibs.cpp [new file with mode: 0644]
src/ld/passes/dylibs.h [new file with mode: 0644]
src/ld/passes/got.cpp [new file with mode: 0644]
src/ld/passes/got.h [new file with mode: 0644]
src/ld/passes/huge.cpp [new file with mode: 0644]
src/ld/passes/huge.h [new file with mode: 0644]
src/ld/passes/objc.cpp [new file with mode: 0644]
src/ld/passes/objc.h [new file with mode: 0644]
src/ld/passes/order_file.cpp [new file with mode: 0644]
src/ld/passes/order_file.h [new file with mode: 0644]
src/ld/passes/stubs/make_stubs.h [new file with mode: 0644]
src/ld/passes/stubs/stub_arm.hpp [new file with mode: 0644]
src/ld/passes/stubs/stub_arm_classic.hpp [new file with mode: 0644]
src/ld/passes/stubs/stub_ppc_classic.hpp [new file with mode: 0644]
src/ld/passes/stubs/stub_x86.hpp [new file with mode: 0644]
src/ld/passes/stubs/stub_x86_64.hpp [new file with mode: 0644]
src/ld/passes/stubs/stub_x86_64_classic.hpp [new file with mode: 0644]
src/ld/passes/stubs/stub_x86_classic.hpp [new file with mode: 0644]
src/ld/passes/stubs/stubs.cpp [new file with mode: 0644]
src/ld/passes/tlvp.cpp [new file with mode: 0644]
src/ld/passes/tlvp.h [new file with mode: 0644]
src/other/ObjectDump.cpp
src/other/dyldinfo.cpp
src/other/machochecker.cpp
src/other/rebase.cpp
src/other/unwinddump.cpp
unit-tests/bin/result-filter.pl
unit-tests/include/common.makefile
unit-tests/run-all-unit-tests
unit-tests/test-cases/16-byte-alignment/Makefile
unit-tests/test-cases/Lpath/Makefile [new file with mode: 0644]
unit-tests/test-cases/Lpath/foo.c [new file with mode: 0644]
unit-tests/test-cases/Lpath/main.c [new file with mode: 0644]
unit-tests/test-cases/absolute-symbol/abs.s
unit-tests/test-cases/alias-command-line/Makefile
unit-tests/test-cases/alias-command-line/aliases.s
unit-tests/test-cases/alias-command-line/aliases.txt
unit-tests/test-cases/allow_heap_execute/Makefile [new file with mode: 0644]
unit-tests/test-cases/allow_heap_execute/main.c [new file with mode: 0644]
unit-tests/test-cases/archive-ObjC-unexported/Makefile [new file with mode: 0644]
unit-tests/test-cases/archive-ObjC-unexported/bar.m [new file with mode: 0644]
unit-tests/test-cases/archive-ObjC-unexported/foo.m [new file with mode: 0644]
unit-tests/test-cases/archive-ObjC-unexported/main.m [new file with mode: 0644]
unit-tests/test-cases/archive-ObjC-unexported/main.nexp [new file with mode: 0644]
unit-tests/test-cases/archive-image_info/Makefile [new file with mode: 0644]
unit-tests/test-cases/archive-image_info/main.m [new file with mode: 0644]
unit-tests/test-cases/bind_at_load/Makefile [new file with mode: 0644]
unit-tests/test-cases/bind_at_load/bar.c [new file with mode: 0644]
unit-tests/test-cases/bind_at_load/foo.c [new file with mode: 0644]
unit-tests/test-cases/bind_at_load/main.c [new file with mode: 0644]
unit-tests/test-cases/blank-stubs/Makefile
unit-tests/test-cases/branch-distance/Makefile
unit-tests/test-cases/branch-interworking/Makefile [new file with mode: 0644]
unit-tests/test-cases/branch-interworking/myarm.s [new file with mode: 0644]
unit-tests/test-cases/branch-interworking/mythumb.s [new file with mode: 0644]
unit-tests/test-cases/cfstring-and-cstring/Makefile [new file with mode: 0644]
unit-tests/test-cases/cfstring-and-cstring/bar.c [new file with mode: 0644]
unit-tests/test-cases/cfstring-and-cstring/foo.c [new file with mode: 0644]
unit-tests/test-cases/cfstring-utf16/Makefile
unit-tests/test-cases/coalesce_weak_def_in_dylib/Makefile
unit-tests/test-cases/commons-order/Makefile
unit-tests/test-cases/cstring-alt-segment/Makefile
unit-tests/test-cases/cstring-alt-segment/custom.s
unit-tests/test-cases/cstring-empty-labeled/Makefile [new file with mode: 0644]
unit-tests/test-cases/cstring-empty-labeled/foo.s [new file with mode: 0644]
unit-tests/test-cases/custom-segment-layout/Makefile [new file with mode: 0644]
unit-tests/test-cases/custom-segment-layout/main.c [new file with mode: 0644]
unit-tests/test-cases/custom-segment-layout/zero.s [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-duplicate-def/Makefile [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-duplicate-def/bar.c [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-duplicate-def/foo.c [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-duplicate-def/main.c [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-weak-override/Makefile [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-weak-override/bar.c [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-weak-override/foo.c [new file with mode: 0644]
unit-tests/test-cases/dead_strip-archive-weak-override/main.c [new file with mode: 0644]
unit-tests/test-cases/dead_strip/Makefile
unit-tests/test-cases/demangle/Makefile [new file with mode: 0644]
unit-tests/test-cases/demangle/main.cxx [new file with mode: 0644]
unit-tests/test-cases/dependency-logging/Makefile [new file with mode: 0644]
unit-tests/test-cases/dependency-logging/foo.c [new file with mode: 0644]
unit-tests/test-cases/dependency-logging/main.c [new file with mode: 0644]
unit-tests/test-cases/dtrace-old-probes/Makefile [new file with mode: 0644]
unit-tests/test-cases/dtrace-old-probes/main.c [new file with mode: 0644]
unit-tests/test-cases/dtrace-static-probes-coalescing/x.cxx
unit-tests/test-cases/dtrace-static-probes/Makefile
unit-tests/test-cases/dwarf-debug-notes-r/Makefile
unit-tests/test-cases/dwarf-debug-notes-uuid/Makefile [new file with mode: 0644]
unit-tests/test-cases/dwarf-debug-notes-uuid/main.c [new file with mode: 0644]
unit-tests/test-cases/dwarf-debug-notes/Makefile
unit-tests/test-cases/dwarf-debug-notes/expected-stabs
unit-tests/test-cases/dwarf-strip-objc/Makefile [new file with mode: 0644]
unit-tests/test-cases/dwarf-strip-objc/hello.m [new file with mode: 0644]
unit-tests/test-cases/dwarf-strip/Makefile
unit-tests/test-cases/dylib-aliases/Makefile
unit-tests/test-cases/dylib-re-export-cycle/Makefile
unit-tests/test-cases/dylib-upward/Makefile [new file with mode: 0644]
unit-tests/test-cases/dylib-upward/bar.c [new file with mode: 0644]
unit-tests/test-cases/dylib-upward/foo.c [new file with mode: 0644]
unit-tests/test-cases/efi-basic/LibTest.c [new file with mode: 0644]
unit-tests/test-cases/efi-basic/Makefile [new file with mode: 0644]
unit-tests/test-cases/efi-basic/MtocTest.c [new file with mode: 0644]
unit-tests/test-cases/efi-basic/mtoctest.py [new file with mode: 0755]
unit-tests/test-cases/eh-coalescing/bar.cxx
unit-tests/test-cases/eh-stripped-symbols/Makefile
unit-tests/test-cases/eh-stripped-symbols/main.cxx
unit-tests/test-cases/empty-dylib/Makefile
unit-tests/test-cases/exported-symbols-dead_strip/Makefile [new file with mode: 0644]
unit-tests/test-cases/exported-symbols-dead_strip/foo.c [new file with mode: 0644]
unit-tests/test-cases/exported-symbols-dead_strip/foo.exp [new file with mode: 0644]
unit-tests/test-cases/function-starts/Makefile [new file with mode: 0644]
unit-tests/test-cases/function-starts/main.c [new file with mode: 0644]
unit-tests/test-cases/hidden-r/Makefile [new file with mode: 0644]
unit-tests/test-cases/hidden-r/foo.c [new file with mode: 0644]
unit-tests/test-cases/hidden-r/main.c [new file with mode: 0644]
unit-tests/test-cases/kext-basic/mykext.c
unit-tests/test-cases/label-on-end-of-section/Makefile
unit-tests/test-cases/large-bss/Makefile [new file with mode: 0644]
unit-tests/test-cases/large-bss/test.s [new file with mode: 0644]
unit-tests/test-cases/lazy-dylib-objc/Makefile
unit-tests/test-cases/lazy-dylib/Makefile
unit-tests/test-cases/literals-labels/Makefile [new file with mode: 0644]
unit-tests/test-cases/literals-labels/literals.s [new file with mode: 0644]
unit-tests/test-cases/llvm-integration/Makefile
unit-tests/test-cases/llvm-integration/a17.c
unit-tests/test-cases/lto-dead_strip-objc/Makefile [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-objc/foo.m [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-some-hidden/Makefile [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-some-hidden/bar.c [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-tentative/Makefile [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-tentative/bar.c [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-tentative/baz.c [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-tentative/foo.c [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-tentative/main.c [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-unused/Makefile [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-unused/bar.c [new file with mode: 0644]
unit-tests/test-cases/lto-dead_strip-unused/main.c [new file with mode: 0644]
unit-tests/test-cases/lto-objc-image-info/Makefile [new file with mode: 0644]
unit-tests/test-cases/lto-objc-image-info/main.m [new file with mode: 0644]
unit-tests/test-cases/lto-object_path/Makefile [new file with mode: 0644]
unit-tests/test-cases/lto-object_path/main.c [new file with mode: 0644]
unit-tests/test-cases/main-stripped/Makefile
unit-tests/test-cases/main-stripped/main.c
unit-tests/test-cases/main-stripped/main.exp
unit-tests/test-cases/no-uuid/Makefile
unit-tests/test-cases/non-lazy-r/Makefile
unit-tests/test-cases/non-lazy-r/foo.c
unit-tests/test-cases/non-lazy-r/other.c
unit-tests/test-cases/non-lazy-sections-r/Makefile [new file with mode: 0644]
unit-tests/test-cases/non-lazy-sections-r/foo.s [new file with mode: 0644]
unit-tests/test-cases/objc-abi/Makefile [new file with mode: 0644]
unit-tests/test-cases/objc-abi/test.m [new file with mode: 0644]
unit-tests/test-cases/objc-category-archive/Makefile [new file with mode: 0644]
unit-tests/test-cases/objc-category-archive/main.m [new file with mode: 0644]
unit-tests/test-cases/objc-category-archive/test.m [new file with mode: 0644]
unit-tests/test-cases/objc-category-optimize-load/Makefile [new file with mode: 0644]
unit-tests/test-cases/objc-category-optimize-load/cat1.m [new file with mode: 0644]
unit-tests/test-cases/objc-category-optimize-load/foo.m [new file with mode: 0644]
unit-tests/test-cases/objc-category-optimize/Makefile [new file with mode: 0644]
unit-tests/test-cases/objc-category-optimize/cat1.m [new file with mode: 0644]
unit-tests/test-cases/objc-category-optimize/cat2.m [new file with mode: 0644]
unit-tests/test-cases/objc-category-optimize/foo.m [new file with mode: 0644]
unit-tests/test-cases/objc-class-alias/Makefile [new file with mode: 0644]
unit-tests/test-cases/objc-class-alias/test.m [new file with mode: 0644]
unit-tests/test-cases/objc-gc-checks/Makefile
unit-tests/test-cases/objc-gc-checks/none.c [new file with mode: 0644]
unit-tests/test-cases/objc-literal-pointers/Makefile
unit-tests/test-cases/objc-properties/Makefile [new file with mode: 0644]
unit-tests/test-cases/objc-properties/test.m [new file with mode: 0644]
unit-tests/test-cases/objc-visibility/Makefile [new file with mode: 0644]
unit-tests/test-cases/objc-visibility/bar.h [new file with mode: 0644]
unit-tests/test-cases/objc-visibility/bar.m [new file with mode: 0644]
unit-tests/test-cases/objc-visibility/foo.h [new file with mode: 0644]
unit-tests/test-cases/objc-visibility/foo.m [new file with mode: 0644]
unit-tests/test-cases/order_file-ans/main.cxx
unit-tests/test-cases/order_file/Makefile
unit-tests/test-cases/order_file/extra.s
unit-tests/test-cases/order_file/main4.expected [new file with mode: 0644]
unit-tests/test-cases/order_file/main4.order [new file with mode: 0644]
unit-tests/test-cases/re-export-and-use/Makefile [new file with mode: 0644]
unit-tests/test-cases/re-export-and-use/bar.c [new file with mode: 0644]
unit-tests/test-cases/re-export-and-use/baz.c [new file with mode: 0644]
unit-tests/test-cases/re-export-and-use/foo.c [new file with mode: 0644]
unit-tests/test-cases/re-export-and-use/pub.c [new file with mode: 0644]
unit-tests/test-cases/re-export-layers/Makefile [new file with mode: 0644]
unit-tests/test-cases/re-export-layers/bar.c [new file with mode: 0644]
unit-tests/test-cases/re-export-layers/baz.c [new file with mode: 0644]
unit-tests/test-cases/re-export-layers/foo.c [new file with mode: 0644]
unit-tests/test-cases/re-export-layers/main.c [new file with mode: 0644]
unit-tests/test-cases/re-export-symbol/Makefile [new file with mode: 0644]
unit-tests/test-cases/re-export-symbol/bar.c [new file with mode: 0644]
unit-tests/test-cases/re-export-symbol/foo.c [new file with mode: 0644]
unit-tests/test-cases/re-export-symbol/foo.exp [new file with mode: 0644]
unit-tests/test-cases/re-export-symbol/foo2.exp [new file with mode: 0644]
unit-tests/test-cases/re-export-symbol/main1.c [new file with mode: 0644]
unit-tests/test-cases/re-export-symbol/main2.c [new file with mode: 0644]
unit-tests/test-cases/read-only-relocs/Makefile
unit-tests/test-cases/read-only-relocs/main.c [new file with mode: 0644]
unit-tests/test-cases/read-only-relocs/test_bind.c [new file with mode: 0644]
unit-tests/test-cases/read-only-relocs/test_rebase.c [new file with mode: 0644]
unit-tests/test-cases/rebase-basic/Makefile
unit-tests/test-cases/reexport_symbols_list/Makefile [new file with mode: 0644]
unit-tests/test-cases/reexport_symbols_list/bar.c [new file with mode: 0644]
unit-tests/test-cases/reexport_symbols_list/bart.exp [new file with mode: 0644]
unit-tests/test-cases/reexport_symbols_list/foo.c [new file with mode: 0644]
unit-tests/test-cases/reexport_symbols_list/foo.exp [new file with mode: 0644]
unit-tests/test-cases/reexport_symbols_list/junk.exp [new file with mode: 0644]
unit-tests/test-cases/reexport_symbols_list/main1.c [new file with mode: 0644]
unit-tests/test-cases/relocs-asm/relocs-asm.s
unit-tests/test-cases/relocs-neg-from-local/Makefile
unit-tests/test-cases/sectcreate-dead_strip/Makefile [new file with mode: 0644]
unit-tests/test-cases/sectcreate-dead_strip/main.c [new file with mode: 0644]
unit-tests/test-cases/sectcreate-dead_strip/sect_content [new file with mode: 0644]
unit-tests/test-cases/segment-labels/Makefile [new file with mode: 0644]
unit-tests/test-cases/segment-labels/main.c [new file with mode: 0644]
unit-tests/test-cases/segment-labels/test.c [new file with mode: 0644]
unit-tests/test-cases/stabs-coalesce/Makefile
unit-tests/test-cases/static-executable-weak-defines/Makefile
unit-tests/test-cases/static-executable-weak-defines/test.c
unit-tests/test-cases/static-executable/test.c
unit-tests/test-cases/symbol-hiding-umbrella/Makefile [new file with mode: 0644]
unit-tests/test-cases/symbol-hiding-umbrella/bar.c [new file with mode: 0644]
unit-tests/test-cases/symbol-hiding-umbrella/foo.c [new file with mode: 0644]
unit-tests/test-cases/symbol-hiding-umbrella/main.c [new file with mode: 0644]
unit-tests/test-cases/symbol-resolver-basic/Makefile [new file with mode: 0644]
unit-tests/test-cases/symbol-resolver-basic/foo.c [new file with mode: 0644]
unit-tests/test-cases/symbol-resolver-hidden/Makefile [new file with mode: 0644]
unit-tests/test-cases/symbol-resolver-hidden/foo.c [new file with mode: 0644]
unit-tests/test-cases/tentative-to-real-r/Makefile
unit-tests/test-cases/tlv-basic/Makefile [new file with mode: 0644]
unit-tests/test-cases/tlv-basic/get.s [new file with mode: 0644]
unit-tests/test-cases/tlv-basic/main.c [new file with mode: 0644]
unit-tests/test-cases/tlv-dylib/Makefile [new file with mode: 0644]
unit-tests/test-cases/tlv-dylib/foo.s [new file with mode: 0644]
unit-tests/test-cases/tlv-dylib/getbar.s [new file with mode: 0644]
unit-tests/test-cases/tlv-dylib/getfoo.s [new file with mode: 0644]
unit-tests/test-cases/tlv-dylib/main.c [new file with mode: 0644]
unit-tests/test-cases/umbrella-dylib/Makefile [new file with mode: 0644]
unit-tests/test-cases/umbrella-dylib/a.c [new file with mode: 0644]
unit-tests/test-cases/umbrella-dylib/b.c [new file with mode: 0644]
unit-tests/test-cases/umbrella-dylib/c.c [new file with mode: 0644]
unit-tests/test-cases/umbrella-dylib/main.c [new file with mode: 0644]
unit-tests/test-cases/undefined-dynamic-lookup/Makefile
unit-tests/test-cases/unstrippable-symbols/Makefile [new file with mode: 0644]
unit-tests/test-cases/unstrippable-symbols/foo.c [new file with mode: 0644]
unit-tests/test-cases/utf16-nul/Makefile [new file with mode: 0644]
unit-tests/test-cases/utf16-nul/other.s [new file with mode: 0644]
unit-tests/test-cases/utf16-nul/withnul.s [new file with mode: 0644]
unit-tests/test-cases/visibility-warning/Makefile
unit-tests/test-cases/weak-def-auto-hide/Makefile [new file with mode: 0644]
unit-tests/test-cases/weak-def-auto-hide/main.c [new file with mode: 0644]
unit-tests/test-cases/weak-def-auto-hide/other.s [new file with mode: 0644]
unit-tests/test-cases/weak-def-flag/Makefile
unit-tests/test-cases/weak-force/Makefile [new file with mode: 0644]
unit-tests/test-cases/weak-force/foo.c [new file with mode: 0644]
unit-tests/test-cases/weak-force/foo1.exp [new file with mode: 0644]
unit-tests/test-cases/weak-force/foo2.exp [new file with mode: 0644]
unit-tests/test-cases/weak_import-force/main.c
unit-tests/test-cases/weak_import-local/Makefile [new file with mode: 0644]
unit-tests/test-cases/weak_import-local/foo.c [new file with mode: 0644]
unit-tests/test-cases/weak_import-local/foo.h [new file with mode: 0644]
unit-tests/test-cases/weak_import-local/main.c [new file with mode: 0644]
unit-tests/test-cases/weak_import/main.c
unit-tests/test-cases/zero-fill2/test.c