Searched refs:error_or_file (Results 1 – 8 of 8) sorted by relevance
192 auto error_or_file = MemoryBuffer::getFile(path.GetPath()); in LoadReplayHistory() local193 if (auto err = error_or_file.getError()) in LoadReplayHistory()196 yaml::Input yin((*error_or_file)->getBuffer()); in LoadReplayHistory()
177 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath()); in PassiveReplay() local178 if (!error_or_file) { in PassiveReplay()180 "unable to read SB API data: " + error_or_file.getError().message(); in PassiveReplay()183 static ReplayData r(std::move(*error_or_file)); in PassiveReplay()
99 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath()); in Replay() local100 if (auto err = error_or_file.getError()) in Replay()103 return Replay((*error_or_file)->getBuffer()); in Replay()
178 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath()); in SymbolFileLoader() local179 if (auto err = error_or_file.getError()) in SymbolFileLoader()182 llvm::yaml::Input yin((*error_or_file)->getBuffer()); in SymbolFileLoader()
364 auto error_or_file = llvm::MemoryBuffer::getFile(*nextfile); in GetReplayProcessInstanceInfoList() local365 if (std::error_code err = error_or_file.getError()) in GetReplayProcessInstanceInfoList()369 llvm::yaml::Input yin((*error_or_file)->getBuffer()); in GetReplayProcessInstanceInfoList()
234 auto error_or_file = MemoryBuffer::getFile(index.GetPath()); in LoadIndex() local235 if (auto err = error_or_file.getError()) in LoadIndex()238 yaml::Input yin((*error_or_file)->getBuffer()); in LoadIndex()
366 auto error_or_file = llvm::MemoryBuffer::getFile(file.GetPath()); in Create() local367 if (auto err = error_or_file.getError()) in Create()371 llvm::yaml::Input yin((*error_or_file)->getBuffer()); in Create()
124 auto error_or_file = MemoryBuffer::getFile(filename); in ReadFromYAML() local125 if (auto err = error_or_file.getError()) { in ReadFromYAML()130 yaml::Input yin((*error_or_file)->getBuffer()); in ReadFromYAML()