| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/ |
| H A D | install-name-tool-rpath.test | 6 # RUN: llvm-install-name-tool -rpath @executable_a/. @executable_A/. %t 27 # RUN: llvm-install-name-tool -rpath @executable_A/. ABCD %t 35 # RUN: llvm-install-name-tool -rpath @executable_d/. @executable_D/. \ 46 # RUN: llvm-install-name-tool -rpath @executable_D/. @executable_d/. \ 77 # EXISTING: rpath 'ABCD' would create a duplicate load command 80 # RUN: not llvm-install-name-tool -rpath DDD1/. @exec_d/. \ 85 # DUPLICATE: cannot specify both -rpath 'DDD1/.' '@exec_d/.' and -rpath '@exec_d/.' 'DDD2/.' 88 # RUN: not llvm-install-name-tool -rpath @executable_d/. DD/. \ 96 # RUN: not llvm-install-name-tool -rpath @executable_e/. EE/. \ 109 # RUN: not llvm-install-name-tool %t -rpath 2>&1 | \ [all …]
|
| H A D | install-name-tool-prepend-rpath.test | 33 # DUPLICATE-RPATH: rpath 'first_rpath' would create a duplicate load command 40 # DOUBLE: rpath '@executable_X' would create a duplicate load command 51 # RUN: -rpath foo bar %t.i386 2>&1 | \ 54 # REPLACE: cannot specify both -prepend_rpath 'foo' and -rpath 'foo' 'bar'
|
| H A D | install-name-tool-add-rpath.test | 18 # DUPLICATE-RPATH: rpath '@executable_path/.' would create a duplicate load command 30 # DOUBLE: rpath '@executable_X' would create a duplicate load command
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | rpath.s | 5 ## Check that -rpath generates LC_RPATH. 6 # RUN: %lld -o %t %t.o -rpath /some/rpath -rpath /another/rpath 10 # CHECK-NEXT: path /some/rpath 13 # CHECK-NEXT: path /another/rpath
|
| H A D | link-search-at-rpath.s | 11 # RUN: %lld -dylib -install_name @rpath/libfoo.dylib %t/foo.o -o %t/subdir/libfoo.dylib 14 # RUN: -rpath @loader_path/../foo \ 15 # RUN: -rpath @loader_path/../subdir \ 16 # RUN: -rpath @loader_path/../foo \
|
| H A D | link-search-at-loader-path-symlink.s | 9 ## 1. Test symlink with reexport to @rpath and rpath pointing to @loader_path. 13 # RUN: %lld -dylib -install_name @rpath/libbar1.dylib %t/bar.o -o %t/Foo1.framework/Versions/A/libb… 17 # RUN: -rpath @loader_path/. \
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-install-name-tool.rst | 24 and :option:`-rpath` can be combined in an invocation only if they do not share 25 the same `<rpath>` value. 27 .. option:: -add_rpath <rpath> 29 Add an rpath named ``<rpath>`` to the specified binary. Can be specified multiple 30 times to add multiple rpaths. Throws an error if ``<rpath>`` is already listed in 40 .. option:: -delete_rpath <rpath> 42 Delete an rpath named ``<rpath>`` from the specified binary. Can be specified multiple 43 times to delete multiple rpaths. Throws an error if ``<rpath>`` is not listed in 60 .. option:: -rpath <old_rpath> <new_rpath> 62 Change an rpath named ``<old_rpath>`` to ``<new_rpath>`` in the specified binary. Can be specified
|
| /llvm-project-15.0.7/llvm/tools/llvm-objcopy/ |
| H A D | InstallNameToolOpts.td | 19 HelpText<"Add new rpath">; 22 HelpText<"Add new rpath before other rpaths">; 25 HelpText<"Delete specified rpath">; 28 HelpText<"Delete all rpath directives">; 30 def rpath: MultiArg<["-", "--"], "rpath", 2>, 31 HelpText<"Change rpath path name">;
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | new-dtags.test | 3 // RUN: ld.lld %t.o -rpath=/somepath -shared --disable-new-dtags -o %t 6 // RUN: ld.lld %t.o -rpath=/somepath -shared --enable-new-dtags -o %t2 9 // RUN: ld.lld %t.o -rpath=/somepath -shared --disable-new-dtags --enable-new-dtags -o %t2 13 // DISABLE: 0x000000000000000F RPATH Library rpath: [/somepath]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | FileCollectorTest.cpp | 236 std::string rpath = in TEST() local 238 printf("%s -> %s\n", vpath.c_str(), rpath.c_str()); in TEST() 239 EXPECT_THAT(mapping, testing::Contains(vfs::YAMLVFSEntry(vpath, rpath))); in TEST() 245 std::string rpath = in TEST() local 247 printf("%s -> %s\n", vpath.c_str(), rpath.c_str()); in TEST() 248 EXPECT_THAT(mapping, testing::Contains(vfs::YAMLVFSEntry(vpath, rpath))); in TEST() 254 std::string rpath = in TEST() local 256 printf("%s -> %s\n", vpath.c_str(), rpath.c_str()); in TEST() 257 EXPECT_THAT(mapping, testing::Contains(vfs::YAMLVFSEntry(vpath, rpath))); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/test/profile/Posix/ |
| H A D | instrprof-shared.test | 22 RUN: %clang_profgen -o %t-instr-instr -L%t.d -rpath %t.d -lt-instr %S/../Inputs/instrprof-shared-m… 23 RUN: %clang_profgen -o %t-instr-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %S/../Inputs/instrprof-… 24 RUN: %clang_profgen -o %t-instr-no-instr2 -L%t.d -rpath %t.d -lt-no-instr2 %S/../Inputs/instrprof-… 25 RUN: %clang -o %t-no-instr1-instr -L%t.d -rpath %t.d -lt-instr %S/../Inputs/instrprof-shared-main.c 26 RUN: %clang -o %t-no-instr1-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %S/../Inputs/instrprof-shar… 27 RUN: %clang -o %t-no-instr1-no-instr2 -L%t.d -rpath %t.d -lt-no-instr2 %S/../Inputs/instrprof-shar… 29 RUN: %clang -o %t-no-instr2-instr -L%t.d -rpath %t.d -lt-instr %t.d/instrprof-shared-main-no-instr… 30 RUN: %clang -o %t-no-instr2-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %t.d/instrprof-shared-main-… 31 RUN: %clang -o %t-no-instr2-no-instr2 -L%t.d -rpath %t.d -lt-no-instr2 %t.d/instrprof-shared-main-…
|
| H A D | instrprof-value-prof-shared.test | 3 …true -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -o %t -rpath %t.d %t.d/t.shared… 11 …e-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -rpath %t.d -o %t.ir %t.d… 24 …e-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -rpath %t.d -o %t.ir.m %t… 36 …-vp=false -mllvm -vp-static-alloc=false -mllvm -vp-counters-per-site=256 -rpath %t.d -o %t.ir.dyn … 46 …e-vp=false -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=256 -rpath %t.d -o %t.ir.mixe…
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ |
| H A D | instrprof-merge-match.test | 3 // RUN: %clang_profgen -o %t -L %t.d -rpath %t.d %S/Inputs/instrprof-merge-match.c -lt 6 rpath isn't supported on Windows.
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/tools/lto/ |
| H A D | BUILD.gn | 32 "-Wl,-install_name,@rpath/libLTO.dylib", 33 "-Wl,-rpath,@loader_path/../lib",
|
| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | discard-interp.test | 5 # RUN: ld.lld -dynamic-linker foo -rpath bar -rpath baz --script %s --export-dynamic %t.o %t2.so -o…
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | hip-runtime-libs-linux.hip | 39 // ROCM-PATH: "-L[[HIPRT:.*/Inputs/rocm/lib]]" "-rpath" "[[HIPRT]]" "-lamdhip64" 40 // ROCM-REL: "-L[[HIPRT:.*/opt/rocm-3.10.0/lib]]" "-rpath" "[[HIPRT]]" "-lamdhip64" 42 // NOHIPRT-NOT: "-rpath" "{{.*/Inputs/rocm/lib}}"
|
| H A D | hip-link-static-library.hip | 30 // RUN: -Wl,--enable-new-dtags -Wl,--rpath=/opt \ 36 // NOFLAG-NOT: .*rpath=/opt
|
| /llvm-project-15.0.7/lldb/test/Shell/BuildScript/ |
| H A D | toolchain-clang.test | 13 CHECK-32: {{.*}}clang++{{(\.EXE)?}} -m32 {{(-L.* )?(-Wl,-rpath,.* )?}}-o {{.*}}foo.exe {{.*}}foo.ex… 14 CHECK-64: {{.*}}clang++{{(\.EXE)?}} -m64 {{(-L.* )?(-Wl,-rpath,.* )?}}-o {{.*}}foo.exe {{.*}}foo.ex…
|
| /llvm-project-15.0.7/openmp/libomptarget/test/ |
| H A D | lit.cfg | 88 config.test_flags += " -fno-openmp-implicit-rpath" 96 config.test_flags += " -Wl,-rpath," + config.library_dir 97 config.test_flags += " -Wl,-rpath," + config.omp_host_rtl_directory 99 config.test_flags += " -Wl,-rpath," + config.library_dir 100 config.test_flags += " -Wl,-rpath," + config.omp_host_rtl_directory 101 config.test_flags += " -Wl,-rpath," + config.llvm_lib_directory 103 config.test_flags += " -Wl,-rpath," + config.cuda_libdir
|
| /llvm-project-15.0.7/llvm/utils/release/ |
| H A D | test-release.sh | 489 if rpath=`objdump -x $Candidate | grep 'RPATH'` ; then 490 rpath=`echo $rpath | sed -e's/^ *RPATH *//'` 491 if [ -n "$rpath" ]; then 492 newrpath=`echo $rpath | sed -e's/.*\(\$ORIGIN[^:]*\).*/\1/'`
|
| /llvm-project-15.0.7/clang/tools/clang-linker-wrapper/ |
| H A D | LinkerWrapperOpts.td | 113 def rpath : Separate<["--", "-"], "rpath">; 114 def rpath_EQ : Joined<["--", "-"], "rpath=">, Flags<[HelpHidden]>, Alias<rpath>;
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/tools/libclang/ |
| H A D | BUILD.gn | 82 "-Wl,-install_name,@rpath/libclang.dylib", 83 "-Wl,-rpath,@loader_path/../lib",
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/ |
| H A D | BUILD.gn | 8 ldflags = [ "-Wl,-rpath," + rebase_path("$root_out_dir/lib") ]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/unittests/libclang/ |
| H A D | BUILD.gn | 8 ldflags = [ "-Wl,-rpath," + rebase_path("$root_out_dir/lib") ]
|
| /llvm-project-15.0.7/lldb/examples/lookup/ |
| H A D | Makefile | 11 LD_EXTRAS ?= -framework LLDB -Wl,-rpath,"$(LLDB_BUILD_DIR)"
|