NullResolver.cpp 818 B

123456789101112131415161718192021222324252627
  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. #include "llvm/ExecutionEngine/Orc/NullResolver.h"
  10. #include "llvm/Support/ErrorHandling.h"
  11. namespace llvm {
  12. namespace orc {
  13. RuntimeDyld::SymbolInfo NullResolver::findSymbol(const std::string &Name) {
  14. llvm_unreachable("Unexpected cross-object symbol reference");
  15. }
  16. RuntimeDyld::SymbolInfo
  17. NullResolver::findSymbolInLogicalDylib(const std::string &Name) {
  18. llvm_unreachable("Unexpected cross-object symbol reference");
  19. }
  20. } // End namespace orc.
  21. } // End namespace llvm.