LCOV - code coverage report
Current view: top level - lib/Support - Hashing.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 0 3 0.0 %
Date: 2018-10-20 13:21:21 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===-------------- lib/Support/Hashing.cpp -------------------------------===//
       2             : //
       3             : //                     The LLVM Compiler Infrastructure
       4             : //
       5             : // This file is distributed under the University of Illinois Open Source
       6             : // License. See LICENSE.TXT for details.
       7             : //
       8             : //===----------------------------------------------------------------------===//
       9             : //
      10             : // This file provides implementation bits for the LLVM common hashing
      11             : // infrastructure. Documentation and most of the other information is in the
      12             : // header file.
      13             : //
      14             : //===----------------------------------------------------------------------===//
      15             : 
      16             : #include "llvm/ADT/Hashing.h"
      17             : 
      18             : using namespace llvm;
      19             : 
      20             : // Provide a definition and static initializer for the fixed seed. This
      21             : // initializer should always be zero to ensure its value can never appear to be
      22             : // non-zero, even during dynamic initialization.
      23             : uint64_t llvm::hashing::detail::fixed_seed_override = 0;
      24             : 
      25             : // Implement the function for forced setting of the fixed seed.
      26             : // FIXME: Use atomic operations here so that there is no data race.
      27           0 : void llvm::set_fixed_execution_hash_seed(uint64_t fixed_value) {
      28           0 :   hashing::detail::fixed_seed_override = fixed_value;
      29           0 : }

Generated by: LCOV version 1.13