class Fuchsia

Declaration

class Fuchsia : public ToolChain { /* full declaration omitted */ };

Description

ToolChain - Access to tools for a single platform.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:38

Inherits from: ToolChain

Member Variables

Inherited from ToolChain:

protected Multilibs
protected SelectedMultilib

Method Overview

Inherited from ToolChain:

Methods

void AddCXXStdlibLibArgs(
    const llvm::opt::ArgList& Args,
    llvm::opt::ArgStringList& CmdArgs) const

Description

AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard library type.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:95

Parameters

const llvm::opt::ArgList& Args
llvm::opt::ArgStringList& CmdArgs

void AddClangCXXStdlibIncludeArgs(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args) const

Description

AddClangCXXStdlibIncludeArgs - Add the clang -cc1 level arguments to set the include paths to use for the given C++ standard library type.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:92

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args

void AddClangSystemIncludeArgs(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args) const

Description

Add the clang cc1 arguments for system include paths. This routine is responsible for adding the necessary cc1 arguments to include headers from standard system header directories.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:90

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args

std::string ComputeEffectiveClangTriple(
    const llvm::opt::ArgList& Args,
    types::ID InputType) const

Description

ComputeEffectiveClangTriple - Return the Clang triple to use for this target, which may take into account the command line arguments. For example, on Darwin the -mmacosx-version-min= command line argument (which sets the deployment target) determines the version in the triple passed to Clang.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:70

Parameters

const llvm::opt::ArgList& Args
types::ID InputType

Fuchsia(const clang::driver::Driver& D,
        const llvm::Triple& Triple,
        const llvm::opt::ArgList& Args)

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:40

Parameters

const clang::driver::Driver& D
const llvm::Triple& Triple
const llvm::opt::ArgList& Args

clang::driver::ToolChain::CXXStdlibType
GetCXXStdlibType(
    const llvm::opt::ArgList& Args) const

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:78

Parameters

const llvm::opt::ArgList& Args

clang::driver::ToolChain::CXXStdlibType
GetDefaultCXXStdlibType() const

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:50

clang::driver::ToolChain::RuntimeLibType
GetDefaultRuntimeLibType() const

Description

GetDefaultRuntimeLibType - Get the default runtime library variant to use.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:47

LangOptions::StackProtectorMode
GetDefaultStackProtectorLevel(
    bool KernelOrKext) const

Description

GetDefaultStackProtectorLevel - Get the default stack protector level for this tool chain.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:66

Parameters

bool KernelOrKext

clang::driver::ToolChain::RuntimeLibType
GetRuntimeLibType(
    const llvm::opt::ArgList& Args) const

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:77

Parameters

const llvm::opt::ArgList& Args

bool HasNativeLLVMSupport() const

Description

HasNativeLTOLinker - Check whether the linker and related tools have native LLVM support.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:43

bool IsAArch64OutlineAtomicsDefault(
    const llvm::opt::ArgList& Args) const

Description

Test whether this toolchain supports outline atomics by default.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:80

Parameters

const llvm::opt::ArgList& Args

bool IsIntegratedAssemblerDefault() const

Description

IsIntegratedAssemblerDefault - Does this tool chain enable -integrated-as by default.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:44

bool IsMathErrnoDefault() const

Description

IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:45

bool IsUnwindTablesDefault(
    const llvm::opt::ArgList& Args) const

Description

IsUnwindTablesDefault - Does this tool chain use -funwind-tables by default.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:53

Parameters

const llvm::opt::ArgList& Args

void addClangTargetOptions(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args,
    Action::OffloadKind DeviceOffloadKind) const

Description

Add options that need to be passed to cc1 for this target.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:86

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args
Action::OffloadKind DeviceOffloadKind

clang::driver::Tool* buildLinker() const

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:101

llvm::DebuggerKind getDefaultDebuggerTuning()
    const

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:61

const char* getDefaultLinker() const

Description

GetDefaultLinker - Get the default linker to use.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:98

clang::SanitizerMask getDefaultSanitizers() const

Description

Return sanitizers which are enabled by default.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:74

clang::SanitizerMask getSupportedSanitizers()
    const

Description

Return sanitizers which are available in this toolchain.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:73

bool isPICDefault() const

Description

Test whether this toolchain defaults to PIC.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:56

bool isPICDefaultForced() const

Description

Tests whether this toolchain forces its default for PIC, PIE or non-PIC. If this returns true, any PIC related flags should be ignored and instead the results of \c isPICDefault() and \c isPIEDefault(const llvm::opt::ArgList &Args ) are used exclusively.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:60

bool isPIEDefault(
    const llvm::opt::ArgList& Args) const

Description

Test whether this toolchain defaults to PIE.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:57

Parameters

const llvm::opt::ArgList& Args

bool useRelaxRelocations() const

Description

Check whether to enable x86 relax relocations by default.

Declared at: clang/lib/Driver/ToolChains/Fuchsia.h:46