Lines Matching defs:Error
151 bool llvm::error(std::error_code EC) {
155 outs() << ToolName << ": error reading file: " << EC.message() << ".\n";
181 std::string Error;
183 Error);
185 errs() << ToolName << ": " << Error;
199 std::string Error;
200 raw_fd_ostream Out(FileName, Error, sys::fs::F_Text);
201 if (!Error.empty()) {
202 errs() << "llvm-objdump: warning: " << Error << '\n';
269 if (error(a.getOffset(a_addr))) return false;
270 if (error(b.getOffset(b_addr))) return false;
293 errs() << "error: no register info for target " << TripleName << "\n";
301 errs() << "error: no assembly info for target " << TripleName << "\n";
308 errs() << "error: no subtarget info for target " << TripleName << "\n";
314 errs() << "error: no instruction info for target " << TripleName << "\n";
325 errs() << "error: no disassembler for target " << TripleName << "\n";
349 errs() << "error: no instruction printer for target " << TripleName
383 std::string Error;
384 raw_fd_ostream YAMLOut(YAMLCFG.c_str(), Error, sys::fs::F_Text);
385 if (!Error.empty()) {
386 errs() << ToolName << ": warning: " << Error << '\n';
408 if (error(Section.isText(Text)))
414 if (error(Section.getAddress(SectionAddr)))
418 if (error(Section.getSize(SectSize)))
425 if (!error(Section.containsSymbol(Symbol, contains)) && contains) {
427 if (error(Symbol.getAddress(Address)))
436 if (error(Symbol.getName(Name)))
464 if (error(Section.getName(name)))
481 if (error(Section.getContents(Bytes)))
541 if (error(rel_cur->getHidden(hidden))) goto skip_print_rel;
544 if (error(rel_cur->getOffset(addr))) goto skip_print_rel;
547 if (error(rel_cur->getTypeName(name))) goto skip_print_rel;
548 if (error(rel_cur->getValueString(val))) goto skip_print_rel;
568 if (error(Section.getName(secname)))
576 if (error(Reloc.getHidden(hidden)))
580 if (error(Reloc.getTypeName(relocname)))
582 if (error(Reloc.getOffset(address)))
584 if (error(Reloc.getValueString(valuestr)))
599 if (error(Section.getName(Name)))
602 if (error(Section.getAddress(Address)))
605 if (error(Section.getSize(Size)))
608 if (error(Section.isText(Text)))
610 if (error(Section.isData(Data)))
612 if (error(Section.isBSS(BSS)))
629 if (error(Section.getName(Name)))
631 if (error(Section.getContents(Contents)))
633 if (error(Section.getAddress(BaseAddr)))
635 if (error(Section.isBSS(BSS)))
674 if (error(coff->getHeader(header)))
680 if (error(coff->getSymbol(SI, Symbol)))
683 if (error(coff->getSymbolName(Symbol, Name)))
698 if (error(coff->getAuxSymbol<coff_aux_section_definition>(SI + 1, asd)))
712 if (error(coff->getAuxSymbol<coff_aux_file>(SI + 1, AF)))
742 if (error(Symbol.getName(Name)))
744 if (error(Symbol.getAddress(Address)))
746 if (error(Symbol.getType(Type)))
748 if (error(Symbol.getSize(Size)))
750 if (error(Symbol.getSection(Section)))
796 if (error(Section->getName(SectionName)))