| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/ |
| H A D | install-name-tool-rpath.test | 5 ## Updating a single RPath entry: 15 ## Updating multiple RPath entries: 57 ## Updating multiple RPath entries where one exists and the other doesn't: 65 ## Updating a nonexistent RPath: 72 ## Updating to an existing RPath: 79 ## Duplicate RPath entries: 87 ## Updating and deleting RPath at the same time: 95 ## Updating and adding RPath at the same time: 103 ## Missing an RPath argument: 108 ## Missing both RPath arguments:
|
| H A D | install-name-tool-delete-rpath.test | 5 ## Deleting a single RPath entry: 15 ## Deleting multiple RPath entries: 32 ## Deleting a nonexistent RPath:
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 162 StringRef RPath = getPayloadString(LC); in processLoadCommands() local 163 if (RPathsToRemove.count(RPath)) { in processLoadCommands() 164 RPathsToRemove.erase(RPath); in processLoadCommands() 177 if (RPathsToRemove.count(RPath)) in processLoadCommands() 214 StringRef RPath = getPayloadString(LC); in processLoadCommands() local 236 for (StringRef RPath : MachOConfig.RPathToAdd) { in processLoadCommands() local 237 if (RPaths.contains(RPath)) in processLoadCommands() 239 "rpath '" + RPath + in processLoadCommands() 241 RPaths.insert(RPath); in processLoadCommands() 246 if (RPaths.contains(RPath)) in processLoadCommands() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 199 sys::fs::create_directories(sys::path::parent_path(entry.RPath), in copyFiles() 208 sys::fs::create_directories(entry.RPath, in copyFiles() 217 if (std::error_code EC = sys::fs::copy_file(entry.VPath, entry.RPath)) { in copyFiles() 224 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) { in copyFiles() 231 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
|
| H A D | VirtualFileSystem.cpp | 2600 void writeEntry(StringRef VPath, StringRef RPath); 2651 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { in writeEntry() argument 2657 << llvm::yaml::escape(RPath) << "\"\n"; in writeEntry() 2691 StringRef RPath = Entry.RPath; in write() local 2694 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write() 2696 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write() 2701 writeEntry(path::filename(Entry.VPath), RPath); in write() 2725 StringRef RPath = Entry.RPath; in write() local 2728 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write() 2730 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | Utils.h | 152 virtual void addFileMapping(StringRef VPath, StringRef RPath) { in addFileMapping() argument 153 VFSWriter.addFileMapping(VPath, RPath); in addFileMapping()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ModuleDependencyCollector.h | 32 void addFileMapping(llvm::StringRef VPath, llvm::StringRef RPath) override {} in addFileMapping() argument
|
| /llvm-project-15.0.7/llvm/tools/llvm-objcopy/ |
| H A D | ObjcopyOptions.cpp | 1055 StringRef RPath = Arg->getValue(); in parseInstallNameToolOptions() local 1058 if (is_contained(MachOConfig.RPathToAdd, RPath)) in parseInstallNameToolOptions() 1062 RPath.str().c_str(), RPath.str().c_str()); in parseInstallNameToolOptions() 1063 if (is_contained(MachOConfig.RPathToPrepend, RPath)) in parseInstallNameToolOptions() 1067 RPath.str().c_str(), RPath.str().c_str()); in parseInstallNameToolOptions() 1069 MachOConfig.RPathsToRemove.insert(RPath); in parseInstallNameToolOptions() 1076 auto Match = [=](StringRef RPath) { return RPath == Old || RPath == New; }; in parseInstallNameToolOptions() argument
|
| /llvm-project-15.0.7/clang/unittests/libclang/ |
| H A D | LibclangTest.cpp | 54 void map(const char *VPath, const char *RPath) { in map() 55 CXErrorCode Err = clang_VirtualFileOverlay_addFileMapping(VFO, VPath, RPath); in map() 59 void mapError(const char *VPath, const char *RPath, CXErrorCode ExpErr) { in mapError() 60 CXErrorCode Err = clang_VirtualFileOverlay_addFileMapping(VFO, VPath, RPath); in mapError()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | FileCollectorTest.cpp | 25 return LHS.VPath == RHS.VPath && LHS.RPath == RHS.RPath; in operator ==()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | VirtualFileSystem.h | 624 YAMLVFSEntry(T1 &&VPath, T2 &&RPath, bool IsDirectory = false) 625 : VPath(std::forward<T1>(VPath)), RPath(std::forward<T2>(RPath)), in VPath() 628 std::string RPath; member
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 276 MDC->addFile(E.VPath, E.RPath); in collectVFSEntries()
|