Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp41 StringRef ExePath) { in createReader()
48 *COFF, W, ExePath); in createReader()
57 W, ExePath); in createReader()
100 SmallString<128> ExePath(Path); in searchForExe()
101 llvm::sys::path::replace_extension(ExePath, Extension); in searchForExe()
104 if (Error Err = loadDataForEXE(PDB_ReaderType::Native, ExePath, Session)) { in searchForExe()
109 Expected<std::string> PdbPathOrErr = NativeSession::searchForPdb({ExePath}); in searchForExe()
118 return std::string(ExePath); in searchForExe()
140 MemoryBufferRef Buffer, StringRef ExePath) { in handleBuffer()
145 if (!ExePath in handleBuffer()
42 createReader(StringRef Filename,LVReaders & Readers,PdbOrObj & Input,StringRef FileFormatName,StringRef ExePath) createReader() argument
98 SmallString<128> ExePath(Path); searchForExe() local
138 handleBuffer(LVReaders & Readers,StringRef Filename,MemoryBufferRef Buffer,StringRef ExePath) handleBuffer() argument
201 handleFile(LVReaders & Readers,StringRef Filename,StringRef ExePath) handleFile() argument
261 handleObject(LVReaders & Readers,StringRef Filename,StringRef Buffer,StringRef ExePath) handleObject() argument
[all...]
/llvm-project/llvm/unittests/TargetParser/
H A DHost.cpp411 const char *ExePath, ArrayRef<llvm::StringRef> argv, in runAndGetCommandOutput()
414 [ExePath, argv, &Buffer, &Size, &Success] { in runAndGetCommandOutput()
426 ExecuteAndWait(ExePath, argv, /*env=*/std::nullopt, Redirects); in TEST()
485 const char *ExePath = "/usr/bin/oslevel"; in TEST()
486 StringRef argv[] = {ExePath}; in TEST()
489 ASSERT_EQ(runAndGetCommandOutput(ExePath, argv, Buffer, Size), true); in TEST()
547 const char *ExePath = "/usr/sbin/getsystype"; in TEST()
548 StringRef argv[] = {ExePath, "-i"}; in TEST()
551 ASSERT_EQ(runAndGetCommandOutput(ExePath, argv, Buffer, Size), true);
389 runAndGetCommandOutput(const char * ExePath,ArrayRef<llvm::StringRef> argv,std::unique_ptr<char[]> & Buffer,off_t & Size) runAndGetCommandOutput() argument
463 const char *ExePath = "/usr/bin/oslevel"; getAIXSystemVersion() local
525 const char *ExePath = "/usr/sbin/getsystype"; TEST() local
/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.h114 std::string ExePath;
194 StringRef ExePath)
196 Input(&Obj), ExePath(ExePath), LogicalVisitor(this, W, Input) {}
198 llvm::pdb::PDBFile &Pdb, ScopedPrinter &W, StringRef ExePath)
200 Input(&Pdb), ExePath(ExePath), LogicalVisitor(this, W, Input) {}
/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/
H A DLVReaderHandler.h54 MemoryBufferRef Buffer, StringRef ExePath = {});
56 StringRef ExePath = {});
62 StringRef ExePath);
65 StringRef FileFormatName, StringRef ExePath = {});
/llvm-project/llvm/tools/dsymutil/
H A DCFBundle.cpp147 CFBundleInfo getBundleInfo(StringRef ExePath) { in getBundleInfo() argument
156 << ", but it should be a string in: " << ExePath << ".\n"; in getBundleInfo()
159 CFBundle Bundle(ExePath); in getBundleInfo()
H A DCFBundle.h25 CFBundleInfo getBundleInfo(llvm::StringRef ExePath);
/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp130 static Expected<std::string> getPdbPathFromExe(StringRef ExePath) { in createFromPdbPath()
132 object::createBinary(ExePath); in getPdbPathFromExe() argument
149 Error NativeSession::createFromExe(StringRef ExePath, in getPdbPathFromExe()
151 Expected<std::string> PdbPath = getPdbPathFromExe(ExePath); in createFromExe() argument
173 Expected<std::string> PathOrErr = getPdbPathFromExe(Opts.ExePath);
183 SmallString<128> PdbPath = StringRef(Opts.ExePath); in searchForPdb()
/llvm-project/lldb/source/Host/linux/
H A DHost.cpp271 std::string ExePath(PATH_MAX, '\0'); in GetExePathAndArch()
277 ssize_t len = readlink(ProcExe.c_str(), &ExePath[0], PATH_MAX); in GetExePathAndArch()
279 ExePath.resize(len); in GetExePathAndArch()
283 ExePath.resize(0); in GetExePathAndArch()
287 llvm::StringRef PathRef = ExePath; in GetExePathAndArch()
273 std::string ExePath(PATH_MAX, '\0'); GetExePathAndArch() local
/llvm-project/llvm/unittests/DebugInfo/PDB/
H A DNativeSessionTest.cpp37 std::string ExePath = getExePath(); in TEST() local
38 Expected<std::string> PdbPath = NativeSession::searchForPdb({ExePath}); in TEST()
/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp903 if (!ExePath.empty()) { in createScopes()
905 MemoryBuffer::getFileOrSTDIN(ExePath); in createScopes()
908 "File '%s' does not exist.", ExePath.c_str()); in createScopes()
922 ExePath.c_str()); in createScopes()
1158 W.printString("Exe", ExePath);
/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeSession.h34 StringRef ExePath; member
/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp363 ObjectFile *LLVMSymbolizer::lookUpDsymFile(const std::string &ExePath, in lookUpDsymFile()
369 StringRef Filename = sys::path::filename(ExePath); in lookUpDsymFile()
371 getDarwinDWARFResourceForPath(ExePath, std::string(Filename))); in lookUpDsymFile()
360 lookUpDsymFile(const std::string & ExePath,const MachOObjectFile * MachExeObj,const std::string & ArchName) lookUpDsymFile() argument