Home
last modified time | relevance | path

Searched refs:dlopen (Results 1 – 25 of 116) sorted by relevance

12345

/llvm-project-15.0.7/compiler-rt/test/profile/Posix/
H A Dinstrprof-dlopen.test2 RUN: %clang_profgen -o %t.d/func.shared -fPIC -shared %S/../Inputs/instrprof-dlopen-func.c
3 RUN: %clang_profgen -o %t.d/func2.shared -fPIC -shared %S/../Inputs/instrprof-dlopen-func2.c
7 RUN: %clang -c -o %t.d/main.o %S/../Inputs/instrprof-dlopen-main.c
8 RUN: %clang_profgen -o %t-static %S/../Inputs/instrprof-dlopen-func.c %S/../Inputs/instrprof-dlopen…
18 …_profuse=%t-static.profdata -o %t-func.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
19 …ng_profuse=%t-local.profdata -o %t-func.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
20 …_profuse=%t-global.profdata -o %t-func.global.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
25 …_profuse=%t-local.profdata -o %t-func2.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c
30 …_profuse=%t-static.profdata -o %t-main.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-main.c
31 …ng_profuse=%t-local.profdata -o %t-main.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-main.c
[all …]
H A Dgcov-dlopen.c40 void *f1_handle = dlopen("func1.so", RTLD_LAZY | RTLD_GLOBAL); in main()
47 void *f2_handle = dlopen("func2.so", RTLD_LAZY | RTLD_GLOBAL); in main()
58 void *f3_handle = dlopen("func3.so", RTLD_LAZY | RTLD_GLOBAL); in main()
/llvm-project-15.0.7/compiler-rt/test/profile/Linux/
H A Dinstrprof-dlopen.test7 RUN: %clang -c -o %t.d/main.o %S/../Inputs/instrprof-dlopen-main.c
8 …-Wl,--gc-sections -o %t-static %S/../Inputs/instrprof-dlopen-func.c %S/../Inputs/instrprof-dlopen…
18 …_profuse=%t-static.profdata -o %t-func.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
19 …ng_profuse=%t-local.profdata -o %t-func.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
20 …_profuse=%t-global.profdata -o %t-func.global.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func.c
24 …rofuse=%t-static.profdata -o %t-func2.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c
25 …_profuse=%t-local.profdata -o %t-func2.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c
26 …rofuse=%t-global.profdata -o %t-func2.global.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-func2.c
30 …_profuse=%t-static.profdata -o %t-main.static.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-main.c
31 …ng_profuse=%t-local.profdata -o %t-main.local.ll -S -emit-llvm %S/../Inputs/instrprof-dlopen-main.c
[all …]
/llvm-project-15.0.7/compiler-rt/test/orc/TestCases/Darwin/x86-64/
H A Dtrivial-jit-re-dlopen.c20 void *dlopen(const char* path, int mode);
25 void *H = dlopen("inits", 0); in main()
34 H = dlopen("inits", 0); in main()
H A Dtrivial-jit-dlopen-nested.c22 void *dlopen(const char* path, int mode);
28 void *H = dlopen("inits", 0); in main()
34 void *I = dlopen("inits", 0); in main()
H A Dtrivial-jit-dlopen.c18 void *dlopen(const char* path, int mode);
23 void *H = dlopen("inits", 0); in main()
/llvm-project-15.0.7/compiler-rt/test/profile/Inputs/
H A Dinstrprof-dlopen-dlclose-main.c7 void *f1_handle = dlopen("func.shared", RTLD_LAZY | RTLD_GLOBAL); in main()
20 void *f2_handle = dlopen("func2.shared", RTLD_LAZY | RTLD_GLOBAL); in main()
34 void *f3_handle = dlopen("func3.shared", RTLD_LAZY | RTLD_GLOBAL); in main()
H A Dinstrprof-dlopen-main.c15 void *f1_handle = dlopen(DLOPEN_FUNC_DIR"/func.shared", DLOPEN_FLAGS); in main()
28 void *f2_handle = dlopen(DLOPEN_FUNC_DIR"/func2.shared", DLOPEN_FLAGS); in main()
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dignore_lib2.cpp22 dlopen(lib0.c_str(), RTLD_GLOBAL | RTLD_NOW); in main()
23 dlopen(lib1.c_str(), RTLD_GLOBAL | RTLD_NOW); in main()
H A Dignore_lib3.cpp25 void *h = dlopen(lib.c_str(), RTLD_GLOBAL | RTLD_NOW); in main()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Dcoverage-module-unloaded.cpp29 void *handle1 = dlopen(argv[1], RTLD_LAZY); // %dynamiclib1 in main()
34 void *handle2 = dlopen(argv[2], RTLD_LAZY); // %dynamiclib2 in main()
/llvm-project-15.0.7/llvm/test/tools/llvm-profgen/
H A DmmapEvent.test16 …83: [0x7f2505156000(0x202000) @ 0 103:01 539962022 734061270]: r-xp /home/hoy/test/dlopen/helper.so
19 …83: [0x7f2505156000(0x202000) @ 0 103:01 539962022 734061270]: r-xp /home/hoy/test/dlopen/helper.so
30 ; CHECK: Mmap: Binary /home/hoy/test/dlopen/helper.so loaded at 0x7f2505156000
31 ; CHECK: Mmap: Binary /home/hoy/test/dlopen/helper.so loaded at 0x7f2505156000
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DDynamicLibrary.inc28 void *Handle = ::dlopen(File, RTLD_LAZY|RTLD_GLOBAL);
36 // with the handle of dlopen(NULL, RTLD_GLOBAL).
57 if (Err) *Err = "dlopen() not supported on this platform";
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dasan_dlopen_test.cpp13 dlopen(RT, RTLD_LAZY); in main()
H A Dactivation-options.cpp57 void *dso = dlopen(path.c_str(), RTLD_NOW); in main()
H A Ddlopen-mixed-c-cxx.c37 void *handle = dlopen(argv[1], RTLD_LAZY); in main()
H A Dstack-trace-dlclose.cpp29 void *handle = dlopen(SO_DIR "/stack_trace_dlclose.so", RTLD_LAZY); in main()
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Ddeepbind.cpp10 void *lib = dlopen("<arbitrary path>", RTLD_NOW | RTLD_DEEPBIND); in main()
/llvm-project-15.0.7/lldb/test/API/functionalities/dlopen_other_executable/
H A Dmain.c7 int h = (int) dlopen("other", RTLD_LAZY); in main()
/llvm-project-15.0.7/compiler-rt/test/msan/
H A Ddlerror.cpp9 void *p = dlopen("/bad/file/name", RTLD_NOW); in main()
H A Ddlopen_executable.cpp12 void *p = dlopen(0, RTLD_NOW); in main()
/llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/
H A Ddlopen.cpp31 void *handle = dlopen(argv[1], RTLD_NOW); in main()
/llvm-project-15.0.7/lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/
H A Dmain.c11 void *handle = dlopen ("com.apple.sbd.xpc/com.apple.sbd", RTLD_NOW); in main()
/llvm-project-15.0.7/openmp/libomptarget/test/offloading/
H A Ddynamic_module_load.c15 void *Handle = dlopen(argv[1], RTLD_NOW); in main()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/
H A Dinit_for_dlopen.cpp32 void *handle = dlopen(dylib_path, RTLD_LAZY); in main()

12345