Lines Matching refs:darwin
42 /// Darwin - Darwin tool chain for i386 and x86_64.
44 Darwin::Darwin(const Driver &D, const llvm::Triple& Triple)
49 // Compute the initial Darwin version from the triple
64 types::ID Darwin::LookupTypeForExtension(const char *Ext) const {
67 // Darwin always preprocesses assembly files (unless -x is used explicitly).
74 bool Darwin::HasNativeLLVMSupport() const {
78 bool Darwin::hasARCRuntime() const {
96 bool Darwin::hasSubscriptingRuntime() const {
100 /// Darwin provides an ARC runtime starting in MacOS X 10.7 and iOS 5.0.
101 void Darwin::configureObjCRuntime(ObjCRuntime &runtime) const {
116 /// Darwin provides a blocks runtime starting in MacOS X 10.6 and iOS 3.2.
117 bool Darwin::hasBlocksRuntime() const {
149 StringRef Darwin::getDarwinArchName(const ArgList &Args) const {
169 Darwin::~Darwin() {
176 std::string Darwin::ComputeEffectiveClangTriple(const ArgList &Args,
180 // If the target isn't initialized (e.g., an unknown Darwin platform, return
195 Tool &Darwin::SelectTool(const Compilation &C, const JobAction &JA,
224 T = new tools::darwin::Preprocess(*this); break;
230 T = new tools::darwin::Compile(*this); break;
235 T = new tools::darwin::Assemble(*this);
239 T = new tools::darwin::Link(*this); break;
241 T = new tools::darwin::Lipo(*this); break;
243 T = new tools::darwin::Dsymutil(*this); break;
245 T = new tools::darwin::VerifyDebug(*this); break;
254 : Darwin(D, Triple)
276 std::string ToolChainDir = "i686-apple-darwin";
306 llvm_unreachable("Invalid Darwin arch!");
391 P.appendComponent("darwin");
403 // Darwin only supports the compiler-rt based runtime libraries.
409 << Args.getLastArg(options::OPT_rtlib_EQ)->getValue(Args) << "darwin";
413 // Darwin doesn't support real static executables, don't link any runtime
485 // Unfortunately, that turned out to not be true, because Darwin system
528 void Darwin::AddDeploymentTarget(DerivedArgList &Args) const {
694 // it was previously found in the gcc lib dir. However, for all the Darwin
735 // For Darwin platforms, use the compiler-rt-based support library
741 P.appendComponent("darwin");
751 DerivedArgList *Darwin::TranslateArgs(const DerivedArgList &Args,
953 llvm_unreachable("invalid Darwin arch");
986 bool Darwin::IsUnwindTablesDefault() const {
992 bool Darwin::UseDwarfDebugFlags() const {
998 bool Darwin::UseSjLjExceptions() const {
999 // Darwin uses SjLj exceptions on ARM.
1004 const char *Darwin::GetDefaultRelocationModel() const {
1008 const char *Darwin::GetForcedPicModel() const {
1014 bool Darwin::SupportsProfiling() const {
1019 bool Darwin::SupportsObjCGC() const {
1024 bool Darwin::SupportsObjCARC() const {
1420 // driver is Darwin.
1422 T = new tools::darwin::Lipo(*this); break;
1424 T = new tools::darwin::Dsymutil(*this); break;
1426 T = new tools::darwin::VerifyDebug(*this); break;