| /llvm-project-15.0.7/compiler-rt/test/profile/Posix/ |
| H A D | instrprof-dlopen.test | 2 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 D | gcov-dlopen.c | 40 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 D | instrprof-dlopen.test | 7 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 D | trivial-jit-re-dlopen.c | 20 void *dlopen(const char* path, int mode); 25 void *H = dlopen("inits", 0); in main() 34 H = dlopen("inits", 0); in main()
|
| H A D | trivial-jit-dlopen-nested.c | 22 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 D | trivial-jit-dlopen.c | 18 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 D | instrprof-dlopen-dlclose-main.c | 7 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 D | instrprof-dlopen-main.c | 15 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 D | ignore_lib2.cpp | 22 dlopen(lib0.c_str(), RTLD_GLOBAL | RTLD_NOW); in main() 23 dlopen(lib1.c_str(), RTLD_GLOBAL | RTLD_NOW); in main()
|
| H A D | ignore_lib3.cpp | 25 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 D | coverage-module-unloaded.cpp | 29 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 D | mmapEvent.test | 16 …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 D | DynamicLibrary.inc | 28 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 D | asan_dlopen_test.cpp | 13 dlopen(RT, RTLD_LAZY); in main()
|
| H A D | activation-options.cpp | 57 void *dso = dlopen(path.c_str(), RTLD_NOW); in main()
|
| H A D | dlopen-mixed-c-cxx.c | 37 void *handle = dlopen(argv[1], RTLD_LAZY); in main()
|
| H A D | stack-trace-dlclose.cpp | 29 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 D | deepbind.cpp | 10 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 D | main.c | 7 int h = (int) dlopen("other", RTLD_LAZY); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/msan/ |
| H A D | dlerror.cpp | 9 void *p = dlopen("/bad/file/name", RTLD_NOW); in main()
|
| H A D | dlopen_executable.cpp | 12 void *p = dlopen(0, RTLD_NOW); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/ |
| H A D | dlopen.cpp | 31 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 D | main.c | 11 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 D | dynamic_module_load.c | 15 void *Handle = dlopen(argv[1], RTLD_NOW); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/ |
| H A D | init_for_dlopen.cpp | 32 void *handle = dlopen(dylib_path, RTLD_LAZY); in main()
|