Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/lib/Driver/ToolChains.cpp
Show First 20 Lines • Show All 3,931 Lines • ▼ Show 20 Lines | Tool *SHAVEToolChain::buildLinker() const { | ||||
llvm_unreachable("SHAVEToolChain can't buildLinker"); | llvm_unreachable("SHAVEToolChain can't buildLinker"); | ||||
} | } | ||||
Tool *SHAVEToolChain::buildAssembler() const { | Tool *SHAVEToolChain::buildAssembler() const { | ||||
// This one you'd think should be reachable since we expose an | // This one you'd think should be reachable since we expose an | ||||
// assembler to the driver, except not the way it expects. | // assembler to the driver, except not the way it expects. | ||||
llvm_unreachable("SHAVEToolChain can't buildAssembler"); | llvm_unreachable("SHAVEToolChain can't buildAssembler"); | ||||
} | } | ||||
bool WebAssembly::IsMathErrnoDefault() const { return false; } | |||||
bool WebAssembly::IsObjCNonFragileABIDefault() const { return true; } | |||||
bool WebAssembly::UseObjCMixedDispatch() const { return true; } | |||||
bool WebAssembly::isPICDefault() const { return false; } | |||||
bool WebAssembly::isPIEDefault() const { return false; } | |||||
bool WebAssembly::isPICDefaultForced() const { return false; } | |||||
bool WebAssembly::IsIntegratedAssemblerDefault() const { return true; } | |||||
// TODO: Support Objective C stuff. | |||||
bool WebAssembly::SupportsObjCGC() const { return false; } | |||||
bool WebAssembly::hasBlocksRuntime() const { return false; } | |||||
// TODO: Support profiling. | |||||
bool WebAssembly::SupportsProfiling() const { return false; } | |||||
void WebAssembly::addClangTargetOptions(const ArgList &DriverArgs, | |||||
ArgStringList &CC1Args) const { | |||||
if (DriverArgs.hasFlag(options::OPT_fuse_init_array, | |||||
options::OPT_fno_use_init_array, true)) | |||||
CC1Args.push_back("-fuse-init-array"); | |||||
} |