class AVRToolChain

Declaration

class AVRToolChain : 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/AVR.h:21

Inherits from: Generic_ELF

Member Variables

private llvm::StringRef GCCInstallPath

Inherited from Generic_GCC:

protected GCCInstallation
protected CudaInstallation
protected RocmInstallation

Inherited from ToolChain:

protected Multilibs
protected SelectedMultilib

Method Overview

  • public AVRToolChain(const clang::driver::Driver & D, const llvm::Triple & Triple, const llvm::opt::ArgList & Args)
  • public void AddClangSystemIncludeArgs(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args) const
  • public void addClangTargetOptions(const llvm::opt::ArgList & DriverArgs, llvm::opt::ArgStringList & CC1Args, Action::OffloadKind DeviceOffloadKind) const
  • protected clang::driver::Tool * buildLinker() const
  • public llvm::Optional<std::string> findAVRLibcInstallation() const
  • public llvm::StringRef getGCCInstallPath() const

Inherited from Generic_ELF:

Inherited from Generic_GCC:

Inherited from ToolChain:

Methods

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

Declared at: clang/lib/Driver/ToolChains/AVR.h:23

Parameters

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

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/AVR.h:26

Parameters

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

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/AVR.h:30

Parameters

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

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

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

llvm::Optional<std::string>
findAVRLibcInstallation() const

Declared at: clang/lib/Driver/ToolChains/AVR.h:34

llvm::StringRef getGCCInstallPath() const

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