clang 23.0.0git
ModuleLinker.h File Reference
#include "llvm/ADT/SmallVector.h"
#include <memory>

Go to the source code of this file.

Classes

struct  clang::LinkModule
 Info about a module to link into the module currently being generated. More...

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::CodeGen

Functions

bool clang::loadLinkModules (CompilerInstance &CI, llvm::LLVMContext &Ctx, llvm::SmallVectorImpl< LinkModule > &LinkModules)
 Load every bitcode file listed in CodeGenOpts.LinkBitcodeFiles into LinkModules.
void clang::CodeGen::mergeDefaultFunctionDefinitionAttributes (llvm::Function &F, const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts, const TargetOptions &TargetOpts, bool WillInternalize)
 Adds attributes to F according to our CodeGenOpts and LangOpts, as though we had emitted it ourselves.