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

Unified Diff: src/tools/validator_tools/ncstubout.c

Issue 12600034: Provide metadata to validator to allow faster caching. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: First fixes Created 7 years, 9 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: src/tools/validator_tools/ncstubout.c
diff --git a/src/tools/validator_tools/ncstubout.c b/src/tools/validator_tools/ncstubout.c
index 69e077b7816a8943ca4b21dd6ed172ae750d5ee7..8b3271658f989f787244e379f85b1cc3dc6b538f 100644
--- a/src/tools/validator_tools/ncstubout.c
+++ b/src/tools/validator_tools/ncstubout.c
@@ -68,7 +68,9 @@ static Bool FixUpSection(uintptr_t load_address,
load_address, code, code_size,
/* stubout_mode= */ TRUE,
/* readonly_text= */ FALSE,
- cpu_features, NULL);
+ cpu_features,
+ /* metadata= */ NULL,
+ /* cache= */ NULL);
if (status == NaClValidationSucceeded) {
/* Now run the validator again, so that we report any errors
* that were not fixed by stubbing out. This is done so that

Powered by Google App Engine
This is Rietveld 408576698