| Index: src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c
|
| diff --git a/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c b/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c
|
| deleted file mode 100644
|
| index 0ee0f8b6c42edba6253e57264ca1310c41be3674..0000000000000000000000000000000000000000
|
| --- a/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_verbose.c
|
| +++ /dev/null
|
| @@ -1,47 +0,0 @@
|
| -/*
|
| - * Copyright (c) 2011 The Native Client Authors. All rights reserved.
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -/*
|
| - * ncvalidate_iter.c
|
| - * Validate x86 instructions for Native Client
|
| - *
|
| - */
|
| -
|
| -#include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter.h"
|
| -
|
| -#include "native_client/src/shared/platform/nacl_log.h"
|
| -#include "native_client/src/trusted/validator/x86/decoder/nc_inst_state_internal.h"
|
| -#include "native_client/src/trusted/validator/x86/ncval_reg_sfi/ncvalidate_iter_internal.h"
|
| -
|
| -void NaClValidatorStateSetErrorReporter(NaClValidatorState *state,
|
| - NaClErrorReporter *reporter) {
|
| - switch (reporter->supported_reporter) {
|
| - case NaClNullErrorReporter:
|
| - case NaClInstStateErrorReporter:
|
| - state->error_reporter = reporter;
|
| - return;
|
| - default:
|
| - break;
|
| - }
|
| - (*reporter->printf)(
|
| - reporter,
|
| - "*** FATAL: using unsupported error reporter! ***\n",
|
| - "*** NaClInstStateErrorReporter expected but found %s ***\n",
|
| - NaClErrorReporterSupportedName(reporter->supported_reporter));
|
| - exit(1);
|
| -}
|
| -
|
| -static void NaClVerboseErrorPrintInst(NaClErrorReporter* self,
|
| - struct NaClInstState* inst) {
|
| - NaClInstStateInstPrint(NaClLogGetGio(), inst);
|
| -}
|
| -
|
| -NaClErrorReporter kNaClVerboseErrorReporter = {
|
| - NaClInstStateErrorReporter,
|
| - NaClVerboseErrorPrintf,
|
| - NaClVerboseErrorPrintfV,
|
| - (NaClPrintInst) NaClVerboseErrorPrintInst
|
| -};
|
|
|