Home
last modified time | relevance | path

Searched full:dylib (Results 1 – 25 of 1059) sorted by relevance

12345678910>>...43

/external/python/cpython2/Lib/ctypes/macholib/
Ddylib.py2 Generic dylib path manipulation
15 \.dylib$
21 A dylib name can take one of the following four forms:
22 Location/Name.SomeVersion_Suffix.dylib
23 Location/Name.SomeVersion.dylib
24 Location/Name_Suffix.dylib
25 Location/Name.dylib
30 name='Name.SomeVersion_Suffix.dylib',
56 assert dylib_info('P/Foo.dylib') == d('P', 'Foo.dylib', 'Foo')
57 assert dylib_info('P/Foo_debug.dylib') == d('P', 'Foo_debug.dylib', 'Foo', suffix='debug')
[all …]
/external/python/cpython3/Lib/ctypes/macholib/
Ddylib.py2 Generic dylib path manipulation
15 \.dylib$
21 A dylib name can take one of the following four forms:
22 Location/Name.SomeVersion_Suffix.dylib
23 Location/Name.SomeVersion.dylib
24 Location/Name_Suffix.dylib
25 Location/Name.dylib
30 name='Name.SomeVersion_Suffix.dylib',
56 assert dylib_info('P/Foo.dylib') == d('P', 'Foo.dylib', 'Foo')
57 assert dylib_info('P/Foo_debug.dylib') == d('P', 'Foo_debug.dylib', 'Foo', suffix='debug')
[all …]
/external/llvm-project/lld/test/MachO/
Dweak-definition-direct-fetch.s11 # RUN: %lld -dylib -install_name \
12 # RUN: @executable_path/libfoo.dylib %t/foo.o -o %t/libfoo.dylib
13 # RUN: %lld -dylib -install_name \
14 # RUN: @executable_path/libweakfoo.dylib %t/weakfoo.o -o %t/libweakfoo.dylib
16 …N: llvm-objdump --macho --exports-trie %t/libweakfoo.dylib | FileCheck %s --check-prefix WEAK-DYLI…
17 # WEAK-DYLIB-CHECK: _foo [weak_def]
21 # RUN: llvm-strip %t/libfoo.dylib
22 # RUN: llvm-strip %t/libweakfoo.dylib
23 # RUN: llvm-nm %t/libfoo.dylib 2>&1 | FileCheck %s --check-prefix=NOSYM
24 # RUN: llvm-nm %t/libweakfoo.dylib 2>&1 | FileCheck %s --check-prefix=NOSYM
[all …]
Ddylib.s4 # RUN: %lld -dylib -install_name @executable_path/libfoo.dylib \
5 # RUN: %t.o -o %t.dylib
6 # RUN: llvm-objdump --macho --dylib-id %t.dylib | FileCheck %s
7 # CHECK: @executable_path/libfoo.dylib
9 ## If we are building a dylib, we shouldn't error out even if we are passed
13 # RUN: %lld -dylib %t.o -o %t.defaultInstallName.dylib -e missing_entry
14 # RUN: obj2yaml %t.defaultInstallName.dylib | FileCheck %s -DOUTPUT=%t.defaultInstallName.dylib --c…
18 ## dylib.
19 # RUN: llvm-objdump --macho --all-headers %t.dylib | FileCheck %s --check-prefix=NCHECK
24 # RUN: llvm-objdump --syms --exports-trie %t.dylib | \
Dresolution.s5 # RUN: %lld -dylib -install_name \
6 # RUN: @executable_path/libresolution.dylib %t/libresolution.o -o %t/libresolution.dylib
7 # RUN: %lld -dylib -install_name \
8 # RUN: @executable_path/libresolution2.dylib %t/libresolution.o -o %t/libresolution2.dylib
11 ## Check that we select the symbol defined in the first dylib passed on the
13 # RUN: %lld -o %t/dylib-first -L%t -lresolution -lresolution2 %t/resolution.o
14 # RUN: llvm-objdump --macho --bind %t/dylib-first | FileCheck %s --check-prefix=DYLIB-FIRST
15 # DYLIB-FIRST: libresolution _foo
21 ## Also check that defined symbols take precedence over dylib symbols.
22 # DYLIB-FIRST-NOT: libresolution _bar
[all …]
Dlink-search-order.s8 # RUN: %lld -dylib -install_name @executable_path/libhello.dylib %t/hello.o -o %t/libhello.dylib
11 # RUN: %lld -dylib -install_name @executable_path/libgoodbye.dylib %t/goodbye.o -o %tD/libgoodbye.d…
27 # RUN: llvm-objdump --macho --dylibs-used %t/test | FileCheck --check-prefix=DYLIB %s
33 # RUN: llvm-objdump --macho --dylibs-used %t/test | FileCheck --check-prefix=DYLIB %s
38 # RUN: llvm-objdump --macho --dylibs-used %t/test | FileCheck --check-prefix=DYLIB %s
41 # RUN: llvm-objdump --macho --dylibs-used %t/test | FileCheck --check-prefix=DYLIB %s
47 # RUN: llvm-objdump --macho --dylibs-used %t/test | FileCheck --check-prefix=DYLIB %s
49 # DYLIB: @executable_path/libhello.dylib
50 # DYLIB: @executable_path/libgoodbye.dylib
51 # DYLIB: /usr/lib/libSystem.B.dylib
[all …]
Dsub-library.s11 # RUN: %lld -dylib %t/libhello.o -o %t/libhello.dylib
12 # RUN: %lld -dylib -L%t -sub_library libhello -lhello \
13 # RUN: %t/libgoodbye.o -o %t/libgoodbye.dylib
14 # RUN: %lld -dylib -L%t -sub_library libgoodbye -lgoodbye -install_name \
15 # RUN: @executable_path/libsuper.dylib %t/libsuper.o -o %t/libsuper.dylib
21 # RUN: llvm-objdump --macho --all-headers %t/libhello.dylib | FileCheck %s \
25 # RUN: llvm-objdump --macho --all-headers %t/libgoodbye.dylib | FileCheck %s -DDIR=%t \
30 # GOODBYE-HEADERS: name [[DIR]]/libhello.dylib
32 # RUN: llvm-objdump --macho --all-headers %t/libsuper.dylib | FileCheck %s -DDIR=%t \
37 # SUPER-HEADERS: name [[DIR]]/libgoodbye.dylib
[all …]
Dsymbol-order.s8 # RUN: %lld -dylib -o %t/libf1.dylib %t/f1.o -lSystem
16 # RUN: %lld %t/libf1.dylib %t/libf2_g.a %t/test.o -o %t/test.out -lSystem
17 # RUN: llvm-objdump --syms --macho --lazy-bind %t/test.out | FileCheck %s --check-prefix DYLIB-FIRST
18 # DYLIB-FIRST: SYMBOL TABLE:
19 # DYLIB-FIRST-DAG: __TEXT,test_g g
20 # DYLIB-FIRST: Lazy bind table:
21 # DYLIB-FIRST-NEXT: segment section address dylib symbol
22 # DYLIB-FIRST-NEXT: __DATA __la_symbol_ptr {{[0-9a-z]+}} libf1 f
24 # RUN: %lld %t/libf2_g.a %t/libf1.dylib %t/test.o -o %t/test.out -lSystem
30 # ARCHIVE-FIRST-NEXT: segment section address dylib symbol
[all …]
Dweak-definition-over-dysym.s5 ## always override any conflicting dylib symbols, regardless of any weak
10 # RUN: %lld -dylib -install_name \
11 # RUN: @executable_path/libfoo.dylib %t/libfoo.o -o %t/libfoo.dylib
25 # RUN: %lld -lSystem -o %t/nonweak-dylib-weak-ar -L%t -lfoo %t/weakfoo.a %t/test.o
26 # RUN: llvm-objdump --macho --lazy-bind --syms %t/nonweak-dylib-weak-ar | FileCheck %s --check-pref…
27 # RUN: %lld -lSystem -o %t/weak-ar-nonweak-dylib -L%t %t/weakfoo.a -lfoo %t/test.o
28 # RUN: llvm-objdump --macho --lazy-bind --syms %t/weak-ar-nonweak-dylib | FileCheck %s --check-pref…
30 # RUN: %lld -lSystem -o %t/weak-obj-nonweak-dylib -L%t %t/weakfoo.o -lfoo %t/test.o
31 # RUN: llvm-objdump --macho --lazy-bind --syms %t/weak-obj-nonweak-dylib | FileCheck %s --check-pre…
32 # RUN: %lld -lSystem -o %t/nonweak-dylib-weak-obj -L%t -lfoo %t/weakfoo.o %t/test.o
[all …]
Dreexport-stub.s4 ## This test verifies that a non-TBD dylib can re-export a TBD library.
7 # RUN: %lld -dylib -lc++ -sub_library libc++ \
8 # RUN: %t/reexporter.o -o %t/libreexporter.dylib
9 …UN: llvm-objdump --macho --all-headers %t/libreexporter.dylib | FileCheck %s --check-prefix=DYLIB-…
10 # DYLIB-HEADERS: cmd LC_REEXPORT_DYLIB
11 # DYLIB-HEADERS-NOT: Load command
12 # DYLIB-HEADERS: name /usr/lib/libc++.dylib
/external/llvm-project/lld/test/mach-o/
Ddylib-install-names.yaml2 # RUN: ld64.lld -arch x86_64 -install_name libwibble.dylib -dylib \
4 # RUN: %p/Inputs/x86_64/libSystem.yaml %s -o %t.dylib
5 # RUN: llvm-objdump --private-headers %t.dylib | FileCheck %s --check-prefix=CHECK-BINARY-WRITE
8 # RUN: ld64.lld -arch x86_64 %p/Inputs/use-dylib-install-names.yaml \
9 # RUN: %p/Inputs/x86_64/libSystem.yaml %t.dylib -dylib -o %t2.dylib
10 # RUN: llvm-objdump --private-headers %t2.dylib | FileCheck %s --check-prefix=CHECK-BINARY-READ
13 # RUN: ld64.lld -arch x86_64 -dylib %s -o libwibble.dylib \
16 # RUN: llvm-objdump --private-headers libwibble.dylib | FileCheck %s --check-prefix=CHECK-BINARY-WR…
17 # RUN: rm -f libwibble.dylib
20 # RUN: ld64.lld -arch x86_64 -dylib %s -install_name libwibble.dylib \
[all …]
Dupward-dylib-load-command.yaml1 # RUN: ld64.lld -arch x86_64 -dylib %p/Inputs/bar.yaml \
2 # RUN: -install_name /usr/lib/libbar.dylib %p/Inputs/x86_64/libSystem.yaml -o %t1.dylib
3 # RUN: ld64.lld -arch x86_64 -dylib %s -upward_library %t1.dylib \
4 # RUN: -install_name /usr/lib/libfoo.dylib %p/Inputs/x86_64/libSystem.yaml -o %t
8 # Test upward linking: 1) build libbar.dylib, 2) build libfoo.dylib and upward
9 # like with libbar.dylib, 3) dump load commands of libfoo and verify upward link.
48 # CHECK-NEXT: name /usr/lib/libbar.dylib (offset 24)
/external/compiler-rt/make/
DAppleBI.mk45 install-MacOSX : $(SYMROOT)/libcompiler_rt.dylib \
51 $(call GetCNAVar,STRIP,Platform.darwin_bni,Release,) -S $(SYMROOT)/libcompiler_rt.dylib \
52 -o $(DSTROOT)/usr/lib/system/libcompiler_rt.dylib
54 ln -s libcompiler_rt.dylib libcompiler_rt_profile.dylib; \
55 ln -s libcompiler_rt.dylib libcompiler_rt_debug.dylib
57 # Rule to make each dylib slice
58 $(OBJROOT)/libcompiler_rt-%.dylib : $(OBJROOT)/darwin_bni/Release/%/libcompiler_rt.a
62 -install_name /usr/lib/system/libcompiler_rt.dylib \
74 # Rule to make fat dylib
75 $(SYMROOT)/libcompiler_rt.dylib: $(foreach arch,$(filter-out armv4t,$(RC_ARCHS)), \
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_macholib.py14 # possible = ['lib'+name+'.dylib', name+'.dylib',
16 # for dylib in possible:
18 # return os.path.realpath(dyld_find(dylib))
26 # '/usr/lib/libSystem.B.dylib'
28 # '/usr/lib/libz.1.dylib'
37 possible = ['lib'+name+'.dylib', name+'.dylib', name+'.framework/'+name]
38 for dylib in possible:
40 return os.path.realpath(dyld_find(dylib))
49 # so symlinks like libpthread.dylib -> libSystem.B.dylib will not
52 ('/usr/lib/libSystem.B.dylib', '/usr/lib/libpthread.dylib'))
[all …]
/external/llvm-project/compiler-rt/test/asan/TestCases/Darwin/
Ddyld_insert_libraries_remove.cpp2 // the ASan dylib from the environment variable (both when using an absolute
8 // RUN: cp `%clang_asan -print-file-name=lib`/darwin/libclang_rt.asan_osx_dynamic.dylib \
9 // RUN: %t/libclang_rt.asan_osx_dynamic.dylib
13 // RUN: -dynamiclib -o %t/dummy-so.dylib
16 // RUN: DYLD_INSERT_LIBRARIES=@executable_path/libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib \
20 // RUN: DYLD_INSERT_LIBRARIES=libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib \
25 // RUN: DYLD_INSERT_LIBRARIES=libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib \
29 // RUN: DYLD_INSERT_LIBRARIES=%t/libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib \
39 // CHECK: {{DYLD_INSERT_LIBRARIES=dummy-so.dylib}} in main()
40 // CHECK-KEEP: {{DYLD_INSERT_LIBRARIES=libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib}} in main()
/external/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
Dinstall-name-tool-change.test7 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/long/long/dylib/LOAD %t.copy
10 # CHANGE: name /usr/long/long/dylib/LOAD
11 # CHANGE: name /usr/dylib/WEAK
15 # RUN: llvm-install-name-tool -change /usr/dylib/WEAK /usr/sh/WEAK \
16 # RUN: -change /usr/dylib/LOAD /usr/sh/LOAD %t.copy
24 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/LOAD \
25 # RUN: -change /usr/dylib/LOAD /usr/XXXX %t.copy
29 # CHANGE-REPEAT: name /usr/dylib/WEAK
33 # RUN: llvm-install-name-tool -change /usr/dylib/LOAD /usr/XX/LOAD \
38 # CHANGE-CHAIN: name /usr/dylib/WEAK
[all …]
/external/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/
Dparser_text.test25 …f63f20000 - 0x7fff63f77ff7 libc++.1.dylib (400.9.4) <D4AB366F-48A9-3C7D-91BD-41198F69DD57> /usr/l…
28 # CHECK: libc++.1.dylib
31 # CHECK: /usr/lib/libc++.1.dylib
49 "0x1111111 - 0x2222222 MyFramework Plus.dylib (1.11 - MyFramework 1.11) <01234> /tmp/MyFramework Pl…
52 # CHECK: MyFramework Plus.dylib
57 # CHECK: /tmp/MyFramework Plus.dylib
59 "0x1111111 - 0x2222222 MyFramework-dev.dylib (1.0.0svn - 1.0.0svn) <01234> /MyFramework-dev.dylib",
62 # CHECK: MyFramework-dev.dylib
67 # CHECK: /MyFramework-dev.dylib
69 "0x7fff63f20000 - 0x7fff63f77ff7 libc++.1.dylib (400.9.4) /usr/lib/libc++.1.dylib",
[all …]
/external/python/cpython2/Lib/ctypes/test/
Dtest_macholib.py14 possible = ['lib'+name+'.dylib', name+'.dylib',
16 for dylib in possible:
18 return os.path.realpath(dyld_find(dylib))
26 '/usr/lib/libSystem.B.dylib'
28 '/usr/lib/libz.1.dylib'
39 possible = ['lib'+name+'.dylib', name+'.dylib', name+'.framework/'+name]
40 for dylib in possible:
42 return os.path.realpath(dyld_find(dylib))
52 '/usr/lib/libSystem.B.dylib')
59 self.assertRegexpMatches(result, r".*/lib/libz\..*.*\.dylib")
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/
Dbad-bind.test1 …lvm-objdump --macho --bind %p/Inputs/macho-bind-dylib-ordinal-uleb 2>&1 | FileCheck --check-prefix…
2 DYLIB-ORDINAL-ULEB: macho-bind-dylib-ordinal-uleb': truncated or malformed object (for BIND_OPCODE_…
4 …mp --macho --bind %p/Inputs/macho-bind-dylib-ordinal-uleb-malformed-uleb128 2>&1 | FileCheck --che…
5 DYLIB-ORDINAL-ULEB-MALFORMED-ULEB128: macho-bind-dylib-ordinal-uleb-malformed-uleb128': truncated o…
7 …objdump --macho --bind %p/Inputs/macho-bind-dylib-ordinal-uleb-too-big 2>&1 | FileCheck --check-pr…
8 DYLIB-ORDINAL-ULEB-TOO-BIG: macho-bind-dylib-ordinal-uleb-too-big': truncated or malformed object (…
10 …llvm-objdump --macho --bind %p/Inputs/macho-bind-dylib-special-imm 2>&1 | FileCheck --check-prefix…
11 DYLIB-SPECIAL-IMM: macho-bind-dylib-special-imm': truncated or malformed object (for BIND_OPCODE_SE…
46 …mp --macho --bind %p/Inputs/macho-do-bind-no-dylib-ordinal 2>&1 | FileCheck --check-prefix DO-BIND…
47 DO-BIND-NO-DYLIB-ORDINAL: macho-do-bind-no-dylib-ordinal': truncated or malformed object (for BIND_…
[all …]
Ddylib.test2 USED: /usr/lib/foo1.dylib (compatibility version 0.0.0, current version 0.0.0)
3 USED: /usr/lib/foo2.dylib (compatibility version 0.0.0, current version 0.0.0, weak)
4 USED: /usr/lib/foo3.dylib (compatibility version 0.0.0, current version 0.0.0, reexport)
5 USED: /usr/lib/foo4.dylib (compatibility version 0.0.0, current version 0.0.0, lazy)
6 USED: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
8 RUN: llvm-objdump --macho --dylib-id %p/Inputs/dylibLoadKinds.macho-x86_64 | FileCheck %s --check-p…
9 ID: /usr/lib/foo.dylib
11 RUN: llvm-objdump --macho --dylib-id --no-leading-headers %p/Inputs/dylibLoadKinds.macho-x86_64 | F…
13 IDNOHEADERS: /usr/lib/foo.dylib
/external/compiler-rt/test/asan/TestCases/Darwin/
Ddyld_insert_libraries_remove.cc2 // the ASan dylib from the environment variable (both when using an absolute
7 // RUN: | grep "libclang_rt.asan_osx_dynamic.dylib" \
8 // RUN: | sed -e 's/.*"\(.*libclang_rt.asan_osx_dynamic.dylib\)".*/\1/'` \
9 // RUN: %T/dyld_insert_libraries_remove/libclang_rt.asan_osx_dynamic.dylib
13 // RUN: -dynamiclib -o %T/dyld_insert_libraries_remove/dummy-so.dylib
16 // RUN: DYLD_INSERT_LIBRARIES=@executable_path/libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib \
20 // RUN: DYLD_INSERT_LIBRARIES=libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib \
24 …NSERT_LIBRARIES=%T/dyld_insert_libraries_remove/libclang_rt.asan_osx_dynamic.dylib:dummy-so.dylib \
34 // CHECK: {{DYLD_INSERT_LIBRARIES=dummy-so.dylib}} in main()
/external/llvm-project/lldb/docs/use/
Dsymbolication.rst59 [ 1] 8CBCF9B9-EBB7-365E-A3FF-2F3850763C6B 0x0000000000000000 /usr/lib/system/libsystem_c.dylib
60 …[ 2] 62AA0B84-188A-348B-8F9E-3E2DB08DB93C 0x0000000000000000 /usr/lib/system/libsystem_dnssd.dylib
61 … 3] C0535565-35D1-31A7-A744-63D9F10F12A4 0x0000000000000000 /usr/lib/system/libsystem_kernel.dylib
72 Address: libsystem_c.dylib[0x0000000000001000] (libsystem_c.dylib.__TEXT.__text + 928)
73 Summary: libsystem_c.dylib`mcount + 9
75 … Address: libsystem_dnssd.dylib[0x0000000000001000] (libsystem_dnssd.dylib.__TEXT.__text + 456)
76 Summary: libsystem_dnssd.dylib`ConvertHeaderBytes + 38
78 … Address: libsystem_kernel.dylib[0x0000000000001000] (libsystem_kernel.dylib.__TEXT.__text + 1116)
79 Summary: libsystem_kernel.dylib`clock_get_time + 102
149 …f83f32000 - 0x7fff83ffefe7 <8CBCF9B9-EBB7-365E-A3FF-2F3850763C6B> /usr/lib/system/libsystem_c.dylib
[all …]
/external/llvm-project/lldb/test/API/commands/expression/weak_symbols/
DMakefile5 all: a.out hidden/libdylib.dylib
7 a.out: libdylib.dylib
11 libdylib.dylib: dylib.c
13 C_SOURCES= DYLIB_C_SOURCES=dylib.c DYLIB_NAME=dylib \
16 hidden/libdylib.dylib:
19 C_SOURCES= DYLIB_C_SOURCES=dylib.c DYLIB_NAME=dylib \
/external/llvm-project/libcxx/utils/ci/
Dapple-install-libcxx.sh42 --version X[.Y[.Z]] The version of the library to encode in the dylib.
118 dylib_name="libc++.1.dylib"
123 step "Building libc++.dylib and libc++abi.dylib for architecture ${arch}"
143 dylib=${1}
145 … inputs=$(for arch in ${architectures}; do echo "${build_dir}/${arch}-install/lib/${dylib}"; done)
147 step "Creating a universal dylib ${dylib} from the dylibs for all architectures"
148 xcrun --sdk "${sdk}" lipo -create ${inputs} -output "${build_dir}/${dylib}"
150 step "Installing the (stripped) universal dylib to ${install_dir}/usr/lib"
152 cp "${build_dir}/${dylib}" "${install_dir}/usr/lib/${dylib}"
153 xcrun --sdk "${sdk}" strip -S "${install_dir}/usr/lib/${dylib}"
[all …]
/external/openscreen/build/toolchain/mac/
DBUILD.gn80 dylib = "{{output_dir}}/$soname" # e.g. "libfoo.dylib"
84 # (1) linking to produce a .dylib, (2) extracting the symbols from that
91 tocname = dylib + ".TOC"
92 temporary_tocname = dylib + ".tmp"
94 …does_reexport_command = "[ ! -e \"$dylib\" -o ! -e \"$tocname\" ] || otool -l \"$dylib\" | grep -q…
95 …pp_command -shared -Wl,-install_name,@rpath/\"$soname\" {{ldflags}} -o \"$dylib\" -Wl,-filelist,\"…
97 …extract_toc_command = "{ otool -l \"$dylib\" | grep LC_ID_DYLIB -A 5; nm -gP \"$dylib\" | cut -f1-…
103 description = "DYLIB {{output}}"
108 default_output_extension = ".dylib"
114 # Link to the dylib but have GN use the tocname for dependency management.
[all …]

12345678910>>...43