projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Always pass a diagnostic handler to the linker.
[oota-llvm.git]
/
tools
/
gold
/
gold-plugin.cpp
diff --git
a/tools/gold/gold-plugin.cpp
b/tools/gold/gold-plugin.cpp
index 1bd2f8afb290c238554b45da452f63dcc002d1fd..8eacdc3ff235728302f043842792c529b7614535 100644
(file)
--- a/
tools/gold/gold-plugin.cpp
+++ b/
tools/gold/gold-plugin.cpp
@@
-938,7
+938,7
@@
static ld_plugin_status allSymbolsReadHook(raw_fd_ostream *ApiFile) {
}
std::unique_ptr<Module> Combined(new Module("ld-temp.o", Context));
- Linker L(*Combined);
+ Linker L(*Combined
, diagnosticHandler
);
std::string DefaultTriple = sys::getDefaultTargetTriple();