LCOV - code coverage report
Current view: top level - gcc/config/i386 - i386-rust.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 100.0 % 2 2
Test Date: 2025-05-10 15:51:31 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : /* Subroutines for the Rust front end on the x86 architecture.
       2                 :             :    Copyright (C) 2022-2025 Free Software Foundation, Inc.
       3                 :             : 
       4                 :             : GCC is free software; you can redistribute it and/or modify
       5                 :             : it under the terms of the GNU General Public License as published by
       6                 :             : the Free Software Foundation; either version 3, or (at your option)
       7                 :             : any later version.
       8                 :             : 
       9                 :             : GCC is distributed in the hope that it will be useful,
      10                 :             : but WITHOUT ANY WARRANTY; without even the implied warranty of
      11                 :             : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      12                 :             : GNU General Public License for more details.
      13                 :             : 
      14                 :             : You should have received a copy of the GNU General Public License
      15                 :             : along with GCC; see the file COPYING3.  If not see
      16                 :             : <http://www.gnu.org/licenses/>.  */
      17                 :             : 
      18                 :             : #define IN_TARGET_CODE 1
      19                 :             : 
      20                 :             : #include "config.h"
      21                 :             : #include "system.h"
      22                 :             : #include "coretypes.h"
      23                 :             : #include "tm.h"
      24                 :             : #include "tm_rust.h"
      25                 :             : #include "rust/rust-target.h"
      26                 :             : 
      27                 :             : /* Implement TARGET_RUST_CPU_INFO for x86 targets.  */
      28                 :             : 
      29                 :             : void
      30                 :        5120 : ix86_rust_target_cpu_info (void)
      31                 :             : {
      32                 :             : #define ADD_TARGET_INFO rust_add_target_info
      33                 :             : #include "i386-rust-and-jit.inc"
      34                 :             : #undef ADD_TARGET_INFO
      35                 :        5120 : }
        

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.