Home
last modified time | relevance | path

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

/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOObjcopy.cpp148 StringRef RPath = getPayloadString(LC); in processLoadCommands() local
149 if (RPathsToRemove.count(RPath)) { in processLoadCommands()
150 RPathsToRemove.erase(RPath); in processLoadCommands()
162 for (StringRef RPath : Config.RPathsToRemove) { in processLoadCommands() local
163 if (RPathsToRemove.count(RPath)) in processLoadCommands()
166 RPath.str().c_str()); in processLoadCommands()
200 StringRef RPath = getPayloadString(LC); in processLoadCommands() local
201 StringRef NewRPath = Config.RPathsToUpdate.lookup(RPath); in processLoadCommands()
222 for (StringRef RPath : Config.RPathToAdd) { in processLoadCommands() local
223 if (RPaths.count(RPath) != 0) in processLoadCommands()
[all …]
/external/llvm-project/llvm/test/tools/llvm-objcopy/MachO/
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:
Dinstall-name-tool-delete-rpath.test5 ## Deleting a single RPath entry:
15 ## Deleting multiple RPath entries:
32 ## Deleting a nonexistent RPath:
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp129 sys::fs::create_directories(sys::path::parent_path(entry.RPath), in copyFiles()
146 sys::fs::create_directories(entry.RPath, in copyFiles()
155 if (std::error_code EC = sys::fs::copy_file(entry.VPath, entry.RPath)) { in copyFiles()
162 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) { in copyFiles()
169 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
DVirtualFileSystem.cpp1916 void writeEntry(StringRef VPath, StringRef RPath);
1967 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { in writeEntry() argument
1973 << llvm::yaml::escape(RPath) << "\"\n"; in writeEntry()
2004 StringRef RPath = Entry.RPath; in write() local
2007 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write()
2009 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
2012 writeEntry(path::filename(Entry.VPath), RPath); in write()
2026 StringRef RPath = Entry.RPath; in write() local
2029 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write()
2031 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
[all …]
/external/llvm-project/llvm/lib/Support/
DFileCollector.cpp178 sys::fs::create_directories(sys::path::parent_path(entry.RPath), in copyFiles()
187 sys::fs::create_directories(entry.RPath, in copyFiles()
196 if (std::error_code EC = sys::fs::copy_file(entry.VPath, entry.RPath)) { in copyFiles()
203 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) { in copyFiles()
210 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
DVirtualFileSystem.cpp2010 void writeEntry(StringRef VPath, StringRef RPath);
2061 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { in writeEntry() argument
2067 << llvm::yaml::escape(RPath) << "\"\n"; in writeEntry()
2101 StringRef RPath = Entry.RPath; in write() local
2104 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write()
2106 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
2111 writeEntry(path::filename(Entry.VPath), RPath); in write()
2135 StringRef RPath = Entry.RPath; in write() local
2138 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write()
2140 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
[all …]
/external/clang/unittests/libclang/
DLibclangTest.cpp49 void map(const char *VPath, const char *RPath) { in map()
50 CXErrorCode Err = clang_VirtualFileOverlay_addFileMapping(VFO, VPath, RPath); in map()
54 void mapError(const char *VPath, const char *RPath, CXErrorCode ExpErr) { in mapError()
55 CXErrorCode Err = clang_VirtualFileOverlay_addFileMapping(VFO, VPath, RPath); in mapError()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h332 template <typename T1, typename T2> YAMLVFSEntry(T1 &&VPath, T2 &&RPath) in YAMLVFSEntry()
333 : VPath(std::forward<T1>(VPath)), RPath(std::forward<T2>(RPath)) {} in YAMLVFSEntry()
335 std::string RPath; member
/external/clang/lib/Basic/
DVirtualFileSystem.cpp1616 void writeEntry(StringRef VPath, StringRef RPath);
1664 void JSONWriter::writeEntry(StringRef VPath, StringRef RPath) { in writeEntry() argument
1670 << llvm::yaml::escape(RPath) << "\"\n"; in writeEntry()
1701 StringRef RPath = Entry.RPath; in write() local
1704 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write()
1706 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
1709 writeEntry(path::filename(Entry.VPath), RPath); in write()
1723 StringRef RPath = Entry.RPath; in write() local
1726 assert(RPath.substr(0, OverlayDirLen) == OverlayDir && in write()
1728 RPath = RPath.slice(OverlayDirLen, RPath.size()); in write()
[all …]
/external/llvm-project/clang/include/clang/Frontend/
DUtils.h168 virtual void addFileMapping(StringRef VPath, StringRef RPath) { in addFileMapping() argument
169 VFSWriter.addFileMapping(VPath, RPath); in addFileMapping()
/external/llvm-project/llvm/tools/llvm-objcopy/
DCopyConfig.cpp902 StringRef RPath = Arg->getValue(); in parseInstallNameToolOptions() local
905 if (is_contained(Config.RPathToAdd, RPath)) in parseInstallNameToolOptions()
909 RPath.str().c_str(), RPath.str().c_str()); in parseInstallNameToolOptions()
910 if (is_contained(Config.RPathToPrepend, RPath)) in parseInstallNameToolOptions()
914 RPath.str().c_str(), RPath.str().c_str()); in parseInstallNameToolOptions()
916 Config.RPathsToRemove.insert(RPath); in parseInstallNameToolOptions()
923 auto Match = [=](StringRef RPath) { return RPath == Old || RPath == New; }; in parseInstallNameToolOptions() argument
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp92 SmallString<256> RPath(CanonicalPath); in real_path() local
93 RealPath.swap(RPath); in real_path()
/external/clang/include/clang/Frontend/
DUtils.h136 void addFileMapping(StringRef VPath, StringRef RPath) { in addFileMapping() argument
137 VFSWriter.addFileMapping(VPath, RPath); in addFileMapping()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DModuleDependencyCollector.h32 void addFileMapping(llvm::StringRef VPath, llvm::StringRef RPath) override {} in addFileMapping() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DVirtualFileSystem.h509 YAMLVFSEntry(T1 &&VPath, T2 &&RPath) in YAMLVFSEntry()
510 : VPath(std::forward<T1>(VPath)), RPath(std::forward<T2>(RPath)) {} in YAMLVFSEntry()
512 std::string RPath; member
/external/llvm-project/llvm/include/llvm/Support/
DVirtualFileSystem.h511 YAMLVFSEntry(T1 &&VPath, T2 &&RPath, bool IsDirectory = false)
512 : VPath(std::forward<T1>(VPath)), RPath(std::forward<T2>(RPath)), in VPath()
515 std::string RPath; member
/external/llvm-project/clang/unittests/libclang/
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()
/external/llvm-project/llvm/unittests/Support/
DFileCollectorTest.cpp25 return LHS.VPath == RHS.VPath && LHS.RPath == RHS.RPath; in operator ==()
/external/llvm-project/mlir/cmake/modules/
DAddMLIRPythonExtension.cmake65 # Build-time RPath layouts require to be a directory one up from the
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp218 MDC->addFile(E.VPath, E.RPath); in collectVFSEntries()