clang 22.0.0git
LFILinux.cpp
Go to the documentation of this file.
1//===-- LFILinux.cpp - LFI ToolChain Implementations ------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#include "LFILinux.h"
10#include "clang/Driver/Driver.h"
11
12using namespace clang::driver;
13using namespace clang::driver::toolchains;
14using namespace llvm::opt;
15
19
20void LFILinux::AddCXXStdlibLibArgs(const ArgList &Args,
21 ArgStringList &CmdArgs) const {
22 ToolChain::AddCXXStdlibLibArgs(Args, CmdArgs);
23 CmdArgs.push_back("-lc++abi");
24}
virtual void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const
AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard libr...
CXXStdlibType GetDefaultCXXStdlibType() const override
Definition LFILinux.cpp:16
void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args, llvm::opt::ArgStringList &CmdArgs) const override
AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard libr...
Definition LFILinux.cpp:20