diff options
author | Devang Patel <dpatel@apple.com> | 2006-10-26 20:46:22 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2006-10-26 20:46:22 +0000 |
commit | 38187d6a56326d0d6339f09c1ef21d52174d95a8 (patch) | |
tree | c57065984d709baaa3bc52b5785be3fd4d770b9b /include/llvm/LinkTimeOptimizer.h | |
parent | 811b0cbd6e9d9fde79b9829739f004b49e89b4b9 (diff) | |
download | external_llvm-38187d6a56326d0d6339f09c1ef21d52174d95a8.zip external_llvm-38187d6a56326d0d6339f09c1ef21d52174d95a8.tar.gz external_llvm-38187d6a56326d0d6339f09c1ef21d52174d95a8.tar.bz2 |
Save temp. bc files when saveTemps flag is true. Use final output file
name supplied by linker to construct temp bc file names.
Remove tabs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/LinkTimeOptimizer.h')
-rw-r--r-- | include/llvm/LinkTimeOptimizer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/llvm/LinkTimeOptimizer.h b/include/llvm/LinkTimeOptimizer.h index c126bb2..50c1613 100644 --- a/include/llvm/LinkTimeOptimizer.h +++ b/include/llvm/LinkTimeOptimizer.h @@ -91,8 +91,9 @@ namespace llvm { NameToSymbolMap &, std::set<std::string> &) = 0; virtual enum LTOStatus optimizeModules(const std::string &, - std::vector<const char*> &, - std::string &) = 0; + std::vector<const char*> &, + std::string &, bool, + const char *) = 0; virtual void getTargetTriple(const std::string &, std::string &) = 0; virtual void removeModule (const std::string &InputFilename) = 0; virtual ~LinkTimeOptimizer() = 0; @@ -113,8 +114,10 @@ namespace llvm { std::set<std::string> &references); enum LTOStatus optimizeModules(const std::string &OutputFilename, std::vector<const char*> &exportList, - std::string &targetTriple); - void getTargetTriple(const std::string &InputFilename, std::string &targetTriple); + std::string &targetTriple, bool saveTemps, + const char *); + void getTargetTriple(const std::string &InputFilename, + std::string &targetTriple); void removeModule (const std::string &InputFilename); // Constructors and destructors |