class MSP430ToolChain

Declaration

class MSP430ToolChain : public Generic_ELF { /* full declaration omitted */ };

Description

Generic_GCC - A tool chain using the 'gcc' command to perform all subcommands; this relies on gcc translating the majority of command line options.

Declared at: clang/lib/Driver/ToolChains/MSP430.h:28

Inherits from: Generic_ELF

Member Variables

Inherited from Generic_GCC:

protected GCCInstallation
protected CudaInstallation
protected RocmInstallation

Inherited from ToolChain:

protected Multilibs
protected SelectedMultilib

Method Overview

Inherited from Generic_ELF:

Inherited from Generic_GCC:

Inherited from ToolChain:

Methods

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/MSP430.h:33

Parameters

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

clang::driver::ToolChain::UnwindLibType
GetUnwindLibType(
    const llvm::opt::ArgList& Args) const

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

Parameters

const llvm::opt::ArgList& Args

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

Declared at: clang/lib/Driver/ToolChains/MSP430.h:30

Parameters

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

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

Description

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

Declared at: clang/lib/Driver/ToolChains/MSP430.h:35

Parameters

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

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

Declared at: clang/lib/Driver/ToolChains/MSP430.h:51

std::string computeSysRoot() const

Description

Return the sysroot, possibly searching for a default sysroot using target-specific logic.

Declared at: clang/lib/Driver/ToolChains/MSP430.h:54

bool isPICDefault() const

Description

Test whether this toolchain defaults to PIC.

Declared at: clang/lib/Driver/ToolChains/MSP430.h:39

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/MSP430.h:43

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

Description

Test whether this toolchain defaults to PIE.

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

Parameters

const llvm::opt::ArgList& Args