• Home
  • Raw
  • Download

Lines Matching refs:cmd

174     std::string cmd = mExecutableToolsPath[(unsigned)CMD_TRANSLATE];  in translate()  local
175 cmd += std::string(" -arch=") + kGlobalTargetAttrs[mAbi].mArch; in translate()
176 cmd += " " + bc.mBCPath + " -o " + bc.mTargetBCPath; in translate()
177 runCmd(cmd, /*dump=*/true); in translate()
231 std::string cmd = mExecutableToolsPath[(unsigned)CMD_LINK]; in link() local
233 cmd += " " + mGlobalLDFlags; in link()
234 cmd += " " + bc.mLDFlags; in link()
236 cmd += std::string(" ") + mSysroot + "/usr/" + libdir + "/crtbegin_so.o"; in link()
237 cmd += " -shared " + bc.mObjPath + " -o " + bc.mOutPath; in link()
238 cmd += " -soname " + bc.mSOName; in link()
240 cmd += std::string(" ") + mSysroot + "/usr/" + libdir + "/crtbegin_dynamic.o"; in link()
241 cmd += " " + bc.mObjPath + " -o " + bc.mOutPath; in link()
244 cmd += " " + bc.mLDLocalLibsStr; in link()
245 cmd += " " + mGlobalLDLibs; in link()
246 cmd += " " + bc.mLDLibsStr; in link()
247 cmd += " " + mExecutableToolsPath[(unsigned)CMD_LINK_RUNTIME]; in link()
249 cmd += std::string(" ") + mSysroot + "/usr/" + libdir + "/crtend_so.o"; in link()
251 cmd += std::string(" ") + mSysroot + "/usr/" + libdir + "/crtend_android.o"; in link()
252 runCmd(cmd, /*dump=*/true); in link()
274 void BitcodeCompiler::runCmd(std::string cmd, bool dump) { in runCmd() argument
275 LOGV("Command: %s", cmd.c_str()); in runCmd()
278 cmd += " > " + logfilename + " 2>&1"; in runCmd()
280 int ret = system(cmd.c_str()); in runCmd()
291 fout << "Failed command: " << cmd << "\n"; in runCmd()