Home | History | Annotate | Download | only in Driver

Lines Matching defs:Darwin

54 /// Darwin - Darwin tool chain for i386 and x86_64.
55 Darwin::Darwin(const Driver & D, const llvm::Triple & Triple,
58 // Compute the initial Darwin version from the triple
81 // Darwin always preprocesses assembly files (unless -x is used explicitly).
92 /// Darwin provides an ARC runtime starting in MacOS X 10.7 and iOS 5.0.
93 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const {
101 /// Darwin provides a blocks runtime starting in MacOS X 10.6 and iOS 3.2.
102 bool Darwin::hasBlocksRuntime() const {
106 assert(isTargetMacOS() && "unexpected darwin target");
176 Darwin::~Darwin() {
190 std::string Darwin::ComputeEffectiveClangTriple(const ArgList &Args,
194 // If the target isn't initialized (e.g., an unknown Darwin platform, return
213 Lipo.reset(new tools::darwin::Lipo(*this));
217 Dsymutil.reset(new tools::darwin::Dsymutil(*this));
221 VerifyDebug.reset(new tools::darwin::VerifyDebug(*this));
229 return new tools::darwin::Link(*this);
233 return new tools::darwin::Assemble(*this);
238 : Darwin(D, Triple, Args) {
294 llvm::sys::path::append(P, "lib", IsEmbedded ? "macho_embedded" : "darwin",
306 // Darwin only supports the compiler-rt based runtime libraries.
312 << Args.getLastArg(options::OPT_rtlib_EQ)->getValue() << "darwin";
316 // Darwin doesn't support real static executables, don't link any runtime
418 // Unfortunately, that turned out to not be true, because Darwin system
432 void Darwin::AddDeploymentTarget(DerivedArgList &Args) const {
557 llvm_unreachable("Unable to infer Darwin variant");
585 llvm_unreachable("unknown kind of Darwin platform");
609 // it was previously found in the gcc lib dir. However, for all the Darwin
647 // For Darwin platforms, use the compiler-rt-based support library
652 llvm::sys::path::append(P, "lib", "darwin");
687 tools::darwin::getArchTypeForMachOArchName(A->getValue(0));
690 tools::darwin::getArchTypeForMachOArchName(BoundArch))))
908 DerivedArgList *Darwin::TranslateArgs(const DerivedArgList &Args,
910 // First get the generic Apple args, before moving onto Darwin-specific ones.
980 bool Darwin::UseSjLjExceptions() const {
981 // Darwin uses SjLj exceptions on ARM.
1005 void Darwin::addMinVersionArgs(const llvm::opt::ArgList &Args,
1028 void Darwin::addStartObjectFileArgs(const llvm::opt::ArgList &Args,
1115 bool Darwin::SupportsObjCGC() const {
1119 void Darwin::CheckObjCARC() const {