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

Unified Diff: ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h

Issue 165433003: PnaclCoordinator: Use llc's module-splitting for pexe compilation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments, remove printfs Created 6 years, 10 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
Index: ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
index 31981ebdec9c1c8f9a534b2f249898c64cdece80..349b8f5ff098b2d68a722facae034d5d73ef8ad1 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
@@ -50,7 +50,7 @@ class PnaclTranslateThread {
// as it is passed in with PutBytes.
void RunTranslate(const pp::CompletionCallback& finish_callback,
const Manifest* manifest,
- TempFile* obj_file,
+ const std::vector<TempFile*>* obj_files,
TempFile* nexe_file,
ErrorInfo* error_info,
PnaclResources* resources,
@@ -85,7 +85,8 @@ class PnaclTranslateThread {
void TranslateFailed(enum PluginErrorCode err_code,
const nacl::string& error_string);
// Run the LD subprocess, returning true on success
- bool RunLdSubprocess(int is_shared_library,
+ bool RunLdSubprocess(int modules_used,
+ int is_shared_library,
const nacl::string& soname,
const nacl::string& lib_dependencies);
@@ -121,7 +122,7 @@ class PnaclTranslateThread {
// Data about the translation files, owned by the coordinator
const Manifest* manifest_;
- TempFile* obj_file_;
+ const std::vector<TempFile*>* obj_files_;
TempFile* nexe_file_;
ErrorInfo* coordinator_error_info_;
PnaclResources* resources_;

Powered by Google App Engine
This is Rietveld 408576698