LCOV - code coverage report
Current view: directory - src/trusted/debug_stub - platform_common.cc (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 12 0 0.0 %
Date: 2012-02-16 Functions: 0 0 -

       1                 : /*
       2                 :  * Copyright 2010 The Native Client Authors.  All rights reserved.
       3                 :  * Use of this source code is governed by a BSD-style license that can
       4                 :  * be found in the LICENSE file.
       5                 :  */
       6                 : 
       7                 : #include <stdio.h>
       8                 : #include <stdlib.h>
       9                 : 
      10                 : #include <map>
      11                 : 
      12                 : #include "native_client/src/shared/platform/nacl_log.h"
      13                 : #include "native_client/src/trusted/gdb_rsp/abi.h"
      14                 : #include "native_client/src/trusted/port/platform.h"
      15                 : 
      16                 : namespace port {
      17                 : 
      18                 : //  Log a message
      19               0 : void IPlatform::LogInfo(const char *fmt, ...) {
      20                 :   va_list argptr;
      21               0 :   va_start(argptr, fmt);
      22                 : 
      23               0 :   NaClLogV(LOG_INFO, fmt, argptr);
      24               0 : }
      25                 : 
      26               0 : void IPlatform::LogWarning(const char *fmt, ...) {
      27                 :   va_list argptr;
      28               0 :   va_start(argptr, fmt);
      29                 : 
      30               0 :   NaClLogV(LOG_WARNING, fmt, argptr);
      31               0 : }
      32                 : 
      33               0 : void IPlatform::LogError(const char *fmt, ...) {
      34                 :   va_list argptr;
      35               0 :   va_start(argptr, fmt);
      36                 : 
      37               0 :   NaClLogV(LOG_ERROR, fmt, argptr);
      38               0 : }
      39                 : 
      40                 : }  // End of port namespace

Generated by: LCOV version 1.7