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

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: retry upload 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..11473b44d7e51e543e23f94750ce60639a0bea99 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
@@ -50,8 +50,9 @@ 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,
+ nacl::DescWrapper* invalid_desc_wrapper,
ErrorInfo* error_info,
PnaclResources* resources,
PnaclOptions* pnacl_options,
@@ -85,7 +86,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,8 +123,9 @@ 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_;
+ nacl::DescWrapper* invalid_desc_wrapper_;
ErrorInfo* coordinator_error_info_;
PnaclResources* resources_;
PnaclOptions* pnacl_options_;

Powered by Google App Engine
This is Rietveld 408576698