projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pass FunctionInfoIndex by reference to WriteFunctionSummaryToFile (NFC)
[oota-llvm.git]
/
tools
/
llvm-lto
/
llvm-lto.cpp
diff --git
a/tools/llvm-lto/llvm-lto.cpp
b/tools/llvm-lto/llvm-lto.cpp
index 29d613f8cd2ce7b0068026197e04897ba3f5b480..b35384a0b35a79a172167e5aa8b6953da42af0ed 100644
(file)
--- a/
tools/llvm-lto/llvm-lto.cpp
+++ b/
tools/llvm-lto/llvm-lto.cpp
@@
-208,7
+208,7
@@
static int createCombinedFunctionIndex(StringRef Command) {
<< ".thinlto.bc': " << EC.message() << "\n";
return 1;
}
- WriteFunctionSummaryToFile(
&
CombinedIndex, OS);
+ WriteFunctionSummaryToFile(CombinedIndex, OS);
OS.close();
return 0;
}