LLVM API Documentation

Archive.cpp File Reference

#include "ArchiveInternals.h"
#include "llvm/Bitcode/ReaderWriter.h"
#include "llvm/ModuleProvider.h"
#include "llvm/Module.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/System/Process.h"
#include <memory>
#include <cstring>

Include dependency graph for Archive.cpp:

Go to the source code of this file.

Functions

static void getSymbols (Module *M, std::vector< std::string > &symbols)
bool llvm::GetBitcodeSymbols (const sys::Path &fName, std::vector< std::string > &symbols, std::string *ErrMsg)
ModuleProvider * llvm::GetBitcodeSymbols (const unsigned char *BufPtr, unsigned Length, const std::string &ModuleID, std::vector< std::string > &symbols, std::string *ErrMsg)


Function Documentation

static void getSymbols ( Module *  M,
std::vector< std::string > &  symbols 
) [static]