projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize/Register LTO passes to enable flags like -print-after=<lto-pass>
[oota-llvm.git]
/
tools
/
lto
/
LTOCodeGenerator.h
diff --git
a/tools/lto/LTOCodeGenerator.h
b/tools/lto/LTOCodeGenerator.h
index a4ade9fd26caa070aec3d01a01f564846bbbbbad..bbe32397fbcfefbc1e45ebd2918e502a7ccc0bd8 100644
(file)
--- a/
tools/lto/LTOCodeGenerator.h
+++ b/
tools/lto/LTOCodeGenerator.h
@@
-56,6
+56,8
@@
struct LTOCodeGenerator {
void setCodeGenDebugOptions(const char *opts);
private:
+ void initializeLTOPasses();
+
bool generateObjectFile(llvm::raw_ostream &out, std::string &errMsg);
void applyScopeRestrictions();
void applyRestriction(llvm::GlobalValue &GV,