• Home
  • Raw
  • Download

Lines Matching refs:mcld

262 static cl::opt<mcld::sys::fs::Path, false, llvm::cl::parser<mcld::sys::fs::Path> >
270 static cl::opt<mcld::sys::fs::Path, false, llvm::cl::parser<mcld::sys::fs::Path> >
280 static cl::opt<mcld::sys::fs::Path, false, llvm::cl::parser<mcld::sys::fs::Path> >
368 static cl::list<mcld::ZOption, bool, llvm::cl::parser<mcld::ZOption> >
375 cl::opt<mcld::CodeGenFileType>
376 ArgFileType("filetype", cl::init(mcld::CGFT_EXEFile),
379 clEnumValN(mcld::CGFT_ASMFile, "asm",
381 clEnumValN(mcld::CGFT_OBJFile, "obj",
383 clEnumValN(mcld::CGFT_DSOFile, "dso",
385 clEnumValN(mcld::CGFT_EXEFile, "exe",
387 clEnumValN(mcld::CGFT_NULLFile, "null",
617 static cl::opt<mcld::GeneralOptions::HashStyle>
618 ArgHashStyle("hash-style", cl::init(mcld::GeneralOptions::SystemV),
621 clEnumValN(mcld::GeneralOptions::SystemV, "sysv",
623 clEnumValN(mcld::GeneralOptions::GNU, "gnu",
625 clEnumValN(mcld::GeneralOptions::Both, "both",
808 static mcld::ToolOutputFile *GetOutputStream(const char* pTargetName, in GetOutputStream()
810 mcld::CodeGenFileType pFileType, in GetOutputStream()
811 const mcld::sys::fs::Path& pInputFilename, in GetOutputStream()
812 mcld::sys::fs::Path& pOutputFilename) in GetOutputStream()
819 case mcld::CGFT_ASMFile: { in GetOutputStream()
834 case mcld::CGFT_OBJFile: { in GetOutputStream()
847 case mcld::CGFT_PARTIAL: { in GetOutputStream()
860 case mcld::CGFT_DSOFile: { in GetOutputStream()
873 case mcld::CGFT_EXEFile: { in GetOutputStream()
886 case mcld::CGFT_NULLFile: in GetOutputStream()
894 mcld::FileHandle::Permission permission; in GetOutputStream()
897 case mcld::CGFT_ASMFile: in GetOutputStream()
898 case mcld::CGFT_OBJFile: in GetOutputStream()
899 case mcld::CGFT_PARTIAL: in GetOutputStream()
902 case mcld::CGFT_DSOFile: in GetOutputStream()
903 case mcld::CGFT_EXEFile: in GetOutputStream()
904 case mcld::CGFT_BINARY: in GetOutputStream()
905 case mcld::CGFT_NULLFile: in GetOutputStream()
911 mcld::ToolOutputFile* result_output = in GetOutputStream()
912 new mcld::ToolOutputFile(pOutputFilename, in GetOutputStream()
913 mcld::FileHandle::ReadWrite | in GetOutputStream()
914 mcld::FileHandle::Create | in GetOutputStream()
915 mcld::FileHandle::Truncate, in GetOutputStream()
932 std::string ProgName(mcld::sys::fs::Path(progname).stem().native()); in ParseProgName()
965 static bool ProcessLinkerOptionsFromCommand(mcld::LinkerConfig& pConfig) { in ProcessLinkerOptionsFromCommand()
982 mcld::outs().setColor(pConfig.options().color()); in ProcessLinkerOptionsFromCommand()
983 mcld::errs().setColor(pConfig.options().color()); in ProcessLinkerOptionsFromCommand()
1000 ArgFileType = mcld::CGFT_DSOFile; in ProcessLinkerOptionsFromCommand()
1003 ArgFileType = mcld::CGFT_PARTIAL; in ProcessLinkerOptionsFromCommand()
1006 ArgFileType = mcld::CGFT_BINARY; in ProcessLinkerOptionsFromCommand()
1015 mcld::outs() << "MCLinker - " in ProcessLinkerOptionsFromCommand()
1016 << mcld::LinkerConfig::version() in ProcessLinkerOptionsFromCommand()
1061 pConfig.options().setStripSymbols(mcld::GeneralOptions::StripAllSymbols); in ProcessLinkerOptionsFromCommand()
1063 pConfig.options().setStripSymbols(mcld::GeneralOptions::StripLocals); in ProcessLinkerOptionsFromCommand()
1065 pConfig.options().setStripSymbols(mcld::GeneralOptions::StripTemporaries); in ProcessLinkerOptionsFromCommand()
1067 pConfig.options().setStripSymbols(mcld::GeneralOptions::KeepAllSymbols); in ProcessLinkerOptionsFromCommand()
1076 mcld::StringEntry<llvm::StringRef>* to_wrap = in ProcessLinkerOptionsFromCommand()
1083 mcld::warning(mcld::diag::rewrap) << *wname << to_wrap_str; in ProcessLinkerOptionsFromCommand()
1087 mcld::StringEntry<llvm::StringRef>* from_real = in ProcessLinkerOptionsFromCommand()
1091 mcld::warning(mcld::diag::rewrap) << *wname << from_real_str; in ProcessLinkerOptionsFromCommand()
1101 mcld::StringEntry<llvm::StringRef>* to_port = in ProcessLinkerOptionsFromCommand()
1108 mcld::warning(mcld::diag::rewrap) << *pname << to_port_str; in ProcessLinkerOptionsFromCommand()
1112 mcld::StringEntry<llvm::StringRef>* from_real = in ProcessLinkerOptionsFromCommand()
1117 mcld::warning(mcld::diag::rewrap) << *pname << from_real_str; in ProcessLinkerOptionsFromCommand()
1121 cl::list<mcld::ZOption>::iterator zOpt; in ProcessLinkerOptionsFromCommand()
1122 cl::list<mcld::ZOption>::iterator zOptEnd = ArgZOptionList.end(); in ProcessLinkerOptionsFromCommand()
1128 mcld::warning(mcld::diag::warn_unsupported_option) << ArgGCSections.ArgStr; in ProcessLinkerOptionsFromCommand()
1138 mcld::warning(mcld::diag::warn_unsupported_option) << ArgICF.ArgStr; in ProcessLinkerOptionsFromCommand()
1143 mcld::warning(mcld::diag::warn_unsupported_option) << ArgFIXCA8.ArgStr; in ProcessLinkerOptionsFromCommand()
1150 mcld::StringEntry<uint64_t>* text_mapping = in ProcessLinkerOptionsFromCommand()
1157 mcld::StringEntry<uint64_t>* data_mapping = in ProcessLinkerOptionsFromCommand()
1164 mcld::StringEntry<uint64_t>* bss_mapping = in ProcessLinkerOptionsFromCommand()
1178 mcld::StringEntry<uint64_t>* addr_mapping = in ProcessLinkerOptionsFromCommand()
1204 mcld::InitializeAllTargets(); in main()
1205 mcld::InitializeAllLinkers(); in main()
1206 mcld::InitializeAllEmulations(); in main()
1207 mcld::InitializeAllDiagnostics(); in main()
1222 mcld::Module LDIRModule; in main()
1224 mcld::LinkerConfig LDConfig; in main()
1233 (mcld::CGFT_DSOFile != ArgFileType && in main()
1234 mcld::CGFT_EXEFile != ArgFileType && in main()
1235 mcld::CGFT_PARTIAL != ArgFileType && in main()
1236 mcld::CGFT_BINARY != ArgFileType)) { in main()
1286 const mcld::Target *TheTarget = 0; in main()
1288 for (mcld::TargetRegistry::iterator it = mcld::TargetRegistry::begin(), in main()
1289 ie = mcld::TargetRegistry::end(); it != ie; ++it) { in main()
1309 TheTarget = mcld::TargetRegistry::lookupTarget(TheTriple.getTriple(), Err); in main()
1370 std::auto_ptr<mcld::MCLDTargetMachine> target_machine( in main()
1375 mcld::MCLDTargetMachine &TheTargetMachine = *target_machine.get(); in main()
1382 OwningPtr<mcld::DiagnosticLineInfo> in main()
1386 mcld::getDiagnosticEngine().setLineInfo(*diag_line_info.take()); in main()
1389 OwningPtr<mcld::ToolOutputFile> in main()
1432 if (mcld::getDiagnosticEngine().getPrinter()->getNumErrors()) in main()