LLVM  4.0.0
NullResolver.cpp
Go to the documentation of this file.
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 
11 
13 
14 namespace llvm {
15 namespace orc {
16 
18  llvm_unreachable("Unexpected cross-object symbol reference");
19 }
20 
22  llvm_unreachable("Unexpected cross-object symbol reference");
23 }
24 
25 } // End namespace orc.
26 } // End namespace llvm.
Represents a symbol in the JIT.
Definition: JITSymbol.h:113
JITSymbol findSymbolInLogicalDylib(const std::string &Name) final
This method returns the address of the specified symbol if it exists within the logical dynamic libra...
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
JITSymbol findSymbol(const std::string &Name) final
This method returns the address of the specified function or variable.