projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
297f69a
)
[ORC] Remove an unused variable.
author
Lang Hames
<lhames@gmail.com>
Mon, 31 Aug 2020 22:16:03 +0000
(15:16 -0700)
committer
Lang Hames
<lhames@gmail.com>
Mon, 31 Aug 2020 22:35:55 +0000
(15:35 -0700)
The unused Main variable was accidentally left in an earlier commit.
llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
b/llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
index
50fa23d
..
d8283fa
100644
(file)
--- a/
llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
+++ b/
llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
@@
-71,9
+71,8
@@
public:
}
// OnResolve -- De-intern the symbols and pass the result to the linker.
- auto OnResolve = [this, LookupContinuation = std::move(LC)](
- Expected<SymbolMap> Result) mutable {
- auto Main = Layer.getExecutionSession().intern("_main");
+ auto OnResolve = [LookupContinuation =
+ std::move(LC)](Expected<SymbolMap> Result) mutable {
if (!Result)
LookupContinuation->run(Result.takeError());
else {