LCOV - code coverage report
Current view: top level - lib/ExecutionEngine/Orc - NullResolver.cpp (source / functions) Hit Total Coverage
Test: llvm-toolchain.info Lines: 2 8 25.0 %
Date: 2018-10-20 13:21:21 Functions: 1 4 25.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //===---------- NullResolver.cpp - Reject symbol lookup requests ----------===//
       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             : #include "llvm/ExecutionEngine/Orc/NullResolver.h"
      11             : 
      12             : #include "llvm/Support/ErrorHandling.h"
      13             : 
      14             : namespace llvm {
      15             : namespace orc {
      16             : 
      17           4 : SymbolNameSet NullResolver::getResponsibilitySet(const SymbolNameSet &Symbols) {
      18           4 :   return Symbols;
      19             : }
      20             : 
      21             : SymbolNameSet
      22           0 : NullResolver::lookup(std::shared_ptr<AsynchronousSymbolQuery> Query,
      23             :                      SymbolNameSet Symbols) {
      24             :   assert(Symbols.empty() && "Null resolver: Symbols must be empty");
      25           0 :   return Symbols;
      26             : }
      27             : 
      28           0 : JITSymbol NullLegacyResolver::findSymbol(const std::string &Name) {
      29           0 :   llvm_unreachable("Unexpected cross-object symbol reference");
      30             : }
      31             : 
      32             : JITSymbol
      33           0 : NullLegacyResolver::findSymbolInLogicalDylib(const std::string &Name) {
      34           0 :   llvm_unreachable("Unexpected cross-object symbol reference");
      35             : }
      36             : 
      37             : } // End namespace orc.
      38             : } // End namespace llvm.

Generated by: LCOV version 1.13