NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239564
91177308-0d34-0410-b5e6-
96231b3b80d8
#ifndef LLVM_EXECUTIONENGINE_ORC_LOGICALDYLIB_H
#define LLVM_EXECUTIONENGINE_ORC_LOGICALDYLIB_H
-#include "llvm/ADT/iterator.h"
-#include "llvm/ADT/Optional.h"
-
namespace llvm {
namespace orc {
auto Resolver =
std::shared_ptr<RuntimeDyld::SymbolResolver>(
orc::createLambdaResolver(
- [this](const std::string &Name) {
+ [this](const std::string &Name) {
if (auto Sym = CODLayer.findSymbol(Name, true))
return RuntimeDyld::SymbolInfo(Sym.getAddress(),
Sym.getFlags());
-
if (auto Sym = CXXRuntimeOverrides.searchOverrides(Name))
return Sym;