Lines Matching refs:error_msg
348 EXPECT_TRUE(res.ok) << res.error_msg; in Driver()
384 std::string error_msg; member
391 bool Assemble(const char* from_file, const char* to_file, std::string* error_msg) { in Assemble() argument
405 return Exec(args, error_msg); in Assemble()
417 std::string error_msg; in Objdump() local
431 if (!Exec(args, &error_msg)) { in Objdump()
432 EXPECT_TRUE(false) << error_msg; in Objdump()
465 std::string error_msg; in DisassembleBinaries() local
466 if (!DisassembleBinary(data_name, &error_msg)) { in DisassembleBinaries()
467 LOG(INFO) << "Error disassembling: " << error_msg; in DisassembleBinaries()
473 if (!DisassembleBinary(as_name, &error_msg)) { in DisassembleBinaries()
474 LOG(INFO) << "Error disassembling: " << error_msg; in DisassembleBinaries()
493 bool DisassembleBinary(std::string file, std::string* error_msg) { in DisassembleBinary() argument
508 return Exec(args, error_msg); in DisassembleBinary()
548 &res->error_msg)) { in Compile()
549 res->error_msg = "Could not compile."; in Compile()
555 res->error_msg = "Objdump failed."; in Compile()
565 res->error_msg = "Objdump output not recognized: too few tokens."; in Compile()
570 res->error_msg = "Objdump output not recognized: .text not second token."; in Compile()
665 std::string error_msg; in FindTool() local
666 if (!Exec(args, &error_msg)) { in FindTool()
667 EXPECT_TRUE(false) << error_msg; in FindTool()