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 findSymbol(const std::string & Name)17RuntimeDyld::SymbolInfo NullResolver::findSymbol(const std::string &Name) { 18 llvm_unreachable("Unexpected cross-object symbol reference"); 19 } 20 21 RuntimeDyld::SymbolInfo findSymbolInLogicalDylib(const std::string & Name)22NullResolver::findSymbolInLogicalDylib(const std::string &Name) { 23 llvm_unreachable("Unexpected cross-object symbol reference"); 24 } 25 26 } // End namespace orc. 27 } // End namespace llvm. 28