1 //===- util.h - Utility functions header file -----------------------------===//
3 // This file contains function prototypes for the functions in util.cpp.
5 //===----------------------------------------------------------------------===//
7 #include "llvm/Module.h"
13 PrintAndReturn (const char *progname,
14 const std::string &Message,
15 const std::string &Extra = "");
18 IsArchive (const std::string &filename);
21 GetAllDefinedSymbols (Module *M, std::set<std::string> &DefinedSymbols);
24 GetAllUndefinedSymbols(Module *M, std::set<std::string> &UndefinedSymbols);
27 copy_env (char ** const envp);
30 remove_env (const char * name, char ** const envp);