clang 22.0.0git
Linux.cpp File Reference
#include "Linux.h"
#include "Arch/ARM.h"
#include "Arch/LoongArch.h"
#include "Arch/Mips.h"
#include "Arch/PPC.h"
#include "Arch/RISCV.h"
#include "clang/Config/config.h"
#include "clang/Driver/CommonArgs.h"
#include "clang/Driver/Distro.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/SanitizerArgs.h"
#include "clang/Options/Options.h"
#include "llvm/Option/ArgList.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/VirtualFileSystem.h"

Go to the source code of this file.

Functions

static StringRef getOSLibDir (const llvm::Triple &Triple, const ArgList &Args)
static void setPAuthABIInTriple (const Driver &D, const ArgList &Args, llvm::Triple &Triple)
static void handlePAuthABI (const Driver &D, const ArgList &DriverArgs, ArgStringList &CC1Args)

Function Documentation

◆ getOSLibDir()

StringRef getOSLibDir ( const llvm::Triple & Triple,
const ArgList & Args )
static

Definition at line 180 of file Linux.cpp.

References clang::driver::tools::mips::hasMipsAbiArg().

◆ handlePAuthABI()

void handlePAuthABI ( const Driver & D,
const ArgList & DriverArgs,
ArgStringList & CC1Args )
static

Definition at line 484 of file Linux.cpp.

Referenced by clang::driver::toolchains::Linux::addClangTargetOptions().

◆ setPAuthABIInTriple()

void setPAuthABIInTriple ( const Driver & D,
const ArgList & Args,
llvm::Triple & Triple )
static