Home
last modified time | relevance | path

Searched refs:moduleOrError (Results 1 – 2 of 2) sorted by relevance

/frameworks/compile/libbcc/lib/Core/
DSource.cpp42 llvm::ErrorOr<llvm::Module *> moduleOrError = llvm::getLazyBitcodeModule(pInput, pContext); in helper_load_bitcode() local
43 if (std::error_code ec = moduleOrError.getError()) { in helper_load_bitcode()
48 return moduleOrError.get(); in helper_load_bitcode()
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp319 llvm::ErrorOr<llvm::Module*> moduleOrError = llvm::parseBitcodeFile(mem.get(), ctx); in main() local
320 std::error_code ec = moduleOrError.getError(); in main()
322 module.reset(moduleOrError.get()); in main()