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-06-17 00:07:59 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::lookupFlags(SymbolFlagsMap &Flags,
      18             :                                         const SymbolNameSet &Symbols) {
      19           4 :   return Symbols;
      20             : }
      21             : 
      22             : SymbolNameSet
      23           0 : NullResolver::lookup(std::shared_ptr<AsynchronousSymbolQuery> Query,
      24             :                      SymbolNameSet Symbols) {
      25             :   assert(Symbols.empty() && "Null resolver: Symbols must be empty");
      26           0 :   return Symbols;
      27             : }
      28             : 
      29           0 : JITSymbol NullLegacyResolver::findSymbol(const std::string &Name) {
      30           0 :   llvm_unreachable("Unexpected cross-object symbol reference");
      31             : }
      32             : 
      33             : JITSymbol
      34           0 : NullLegacyResolver::findSymbolInLogicalDylib(const std::string &Name) {
      35           0 :   llvm_unreachable("Unexpected cross-object symbol reference");
      36             : }
      37             : 
      38             : } // End namespace orc.
      39             : } // End namespace llvm.

Generated by: LCOV version 1.13