Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1509)

Unified Diff: llvm/tools/lto/lto.cpp

Issue 10808021: Change LLVM bitcode linking to use tree reduction to scale better (Closed)
Patch Set: stuff Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « llvm/tools/lto/LTOCodeGenerator.cpp ('k') | llvm/tools/lto/lto.exports » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: llvm/tools/lto/lto.cpp
===================================================================
--- a/llvm/tools/lto/lto.cpp
+++ b/llvm/tools/lto/lto.cpp
@@ -205,6 +205,16 @@
return cg->addModule(mod, sLastErrorString);
}
+// @LOCALMOD-BEGIN
+bool lto_codegen_gather_module_for_link(lto_code_gen_t cg, lto_module_t mod) {
+ return cg->gatherModuleForLinking(mod);
+}
+
+bool lto_codegen_link_gathered_modules_and_dispose(lto_code_gen_t cg) {
+ return cg->linkGatheredModulesAndDispose(sLastErrorString);
+}
+// @LOCALMOD-END
+
/// lto_codegen_set_debug_model - Sets what if any format of debug info should
/// be generated. Returns true on error (check lto_get_error_message() for
/// details).
@@ -343,4 +353,3 @@
void lto_codegen_debug_options(lto_code_gen_t cg, const char *opt) {
cg->setCodeGenDebugOptions(opt);
}
-
« no previous file with comments | « llvm/tools/lto/LTOCodeGenerator.cpp ('k') | llvm/tools/lto/lto.exports » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698