|
LLVM
3.7.0
|
#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"#include "llvm/Support/raw_ostream.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 24 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::SequentialType::getElementType(), llvm::Module::getNamedGlobal(), llvm::Constant::getNullValue(), llvm::StructType::getNumElements(), llvm::PointerType::getUnqual(), and llvm::makeArrayRef().
Referenced by llvm::appendToGlobalCtors(), and llvm::appendToGlobalDtors().
1.8.6