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

Side by Side Diff: src/trusted/validator/x86/error_reporter.c

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #include "native_client/src/trusted/validator/x86/error_reporter.h"
8
9 #include "native_client/src/include/nacl_macros.h"
10 #include "native_client/src/shared/gio/gio.h"
11 #include "native_client/src/shared/platform/nacl_log.h"
12
13 static const char* NaClErrorReporterSupportedNames[] = {
14 "NaClNullErrorReporter",
15 "NaClInstStateErrorReporter",
16 "NCDecoderInstErrorReporter"
17 };
18
19 /* Note: We can't move NaClErrorReporterSupportedName to
20 * error_reporter_verbose.c because ncval_seg_sfi/ncdecode.c needs
21 * to use it, and it is part of the base libraries needed by sel_ldr.
22 */
23 const char* NaClErrorReporterSupportedName(NaClErrorReporterSupported kind) {
24 if ((0 < kind) &&
25 (kind < NACL_ARRAY_SIZE(NaClErrorReporterSupportedNames))) {
26 return NaClErrorReporterSupportedNames[kind];
27 }
28 return "NCDecoderInstErrorReporter";
29 }
30
31 void NaClNullErrorPrintf(NaClErrorReporter* self,
32 const char* format, ...) {}
33
34 void NaClNullErrorPrintfV(NaClErrorReporter* self,
35 const char* format,
36 va_list ap) {}
OLDNEW
« no previous file with comments | « src/trusted/validator/x86/error_reporter.h ('k') | src/trusted/validator/x86/error_reporter_verbose.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698