LLVM API Documentation
#include "llvm/Transforms/Utils/ModuleUtils.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
Go to the source code of this file.
Functions | |
static void | appendToGlobalArray (const char *Array, Module &M, Function *F, int Priority) |
|
static |
Definition at line 23 of file ModuleUtils.cpp.
References llvm::GlobalValue::AppendingLinkage, F(), llvm::FunctionType::get(), llvm::StructType::get(), llvm::ArrayType::get(), llvm::ConstantArray::get(), llvm::ConstantStruct::get(), llvm::Module::getContext(), llvm::Module::getNamedGlobal(), and llvm::PointerType::getUnqual().
Referenced by llvm::appendToGlobalCtors(), and llvm::appendToGlobalDtors().