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
/
gold
/
gold-plugin.cpp
diff --git
a/tools/gold/gold-plugin.cpp
b/tools/gold/gold-plugin.cpp
index bb718f708ccbf24c54879925e1bd273561bb601c..062f746c8fcb609e5061aee236907eef92936803 100644
(file)
--- a/
tools/gold/gold-plugin.cpp
+++ b/
tools/gold/gold-plugin.cpp
@@
-914,7
+914,7
@@
static ld_plugin_status allSymbolsReadHook(raw_fd_ostream *ApiFile) {
if (EC)
message(LDPL_FATAL, "Unable to open %s.thinlto.bc for writing: %s",
output_name.data(), EC.message().c_str());
- WriteFunctionSummaryToFile(
&
CombinedIndex, OS);
+ WriteFunctionSummaryToFile(CombinedIndex, OS);
OS.close();
cleanup_hook();