Home
last modified time | relevance | path

Searched refs:RPath (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/
H A Dinstall-name-tool-rpath.test5 ## 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 Dinstall-name-tool-delete-rpath.test5 ## 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 DMachOObjcopy.cpp162 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 DFileCollector.cpp199 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 DVirtualFileSystem.cpp2600 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 DUtils.h152 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 DModuleDependencyCollector.h32 void addFileMapping(llvm::StringRef VPath, llvm::StringRef RPath) override {} in addFileMapping() argument
/llvm-project-15.0.7/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp1055 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 DLibclangTest.cpp54 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 DFileCollectorTest.cpp25 return LHS.VPath == RHS.VPath && LHS.RPath == RHS.RPath; in operator ==()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DVirtualFileSystem.h624 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 DCompilerInstance.cpp276 MDC->addFile(E.VPath, E.RPath); in collectVFSEntries()