Joseph Tremoulet | 771f4d9 | 2015-06-22 21:37:34 +0000 | [diff] [blame] | 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 | RuntimeDyld::SymbolInfo NullResolver::findSymbol(const std::string &Name) { |
| 18 | llvm_unreachable("Unexpected cross-object symbol reference"); |
| 19 | } |
| 20 | |
| 21 | RuntimeDyld::SymbolInfo |
| 22 | NullResolver::findSymbolInLogicalDylib(const std::string &Name) { |
| 23 | llvm_unreachable("Unexpected cross-object symbol reference"); |
| 24 | } |
| 25 | |
| 26 | } // End namespace orc. |
| 27 | } // End namespace llvm. |