forked from OSchip/llvm-project
[Orc] Remove some unnecesary includes and whitespace that slipped in to r239561.
NFC. llvm-svn: 239564
This commit is contained in:
parent
1b6fd1f5fd
commit
3f9960a969
|
@ -14,9 +14,6 @@
|
|||
#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 {
|
||||
|
||||
|
|
|
@ -91,11 +91,10 @@ public:
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue