LLVM API Documentation
#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>
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) |
| static void getSymbols | ( | Module * | M, | |
| std::vector< std::string > & | symbols | |||
| ) | [static] |
Definition at line 188 of file Archive.cpp.
References AI, llvm::Module::alias_begin(), llvm::Module::alias_end(), llvm::Module::begin(), llvm::Module::end(), FI, GE, llvm::Value::getName(), llvm::Module::global_begin(), llvm::Module::global_end(), and llvm::Value::hasName().
Referenced by llvm::GetBitcodeSymbols().