Lines Matching refs:Path
21 Twine Path) { in getDylibInterfaceFromDylib() argument
30 auto Buf = MemoryBuffer::getFile(Path); in getDylibInterfaceFromDylib()
32 return createFileError(Path, Buf.getError()); in getDylibInterfaceFromDylib()
54 return make_error<StringError>("MachO universal binary at " + Path + in getDylibInterfaceFromDylib()
59 return make_error<StringError>("File at " + Path + " is not a MachO", in getDylibInterfaceFromDylib()
63 return make_error<StringError>("MachO at " + Path + " is not a dylib", in getDylibInterfaceFromDylib()
78 Twine Path) { in getDylibInterfaceFromTapiFile() argument
81 auto TapiFileBuffer = MemoryBuffer::getFile(Path); in getDylibInterfaceFromTapiFile()
83 return createFileError(Path, TapiFileBuffer.getError()); in getDylibInterfaceFromTapiFile()
110 Expected<SymbolNameSet> getDylibInterface(ExecutionSession &ES, Twine Path) { in getDylibInterface() argument
112 if (auto EC = identify_magic(Path, Magic)) in getDylibInterface()
113 return createFileError(Path, EC); in getDylibInterface()
118 return getDylibInterfaceFromDylib(ES, Path); in getDylibInterface()
120 return getDylibInterfaceFromTapiFile(ES, Path); in getDylibInterface()
122 return make_error<StringError>("Cannot get interface for " + Path + in getDylibInterface()