summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Orc
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-07-11 04:39:11 +0000
committerLang Hames <lhames@gmail.com>2018-07-11 04:39:11 +0000
commitd16b7e57845585251e1df76babd9c84f7ac06e42 (patch)
tree4939280209986f4a04437d8ad435eb6d4afb6486 /lib/ExecutionEngine/Orc
parent153b1da7646c97dfae16d2b9d796b67a39fd1457 (diff)
[ORC] Add unit tests for the reexports utility that were left out of r336741,
and fix a bug that these exposed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Orc')
-rw-r--r--lib/ExecutionEngine/Orc/Core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Orc/Core.cpp b/lib/ExecutionEngine/Orc/Core.cpp
index 38f2213a85f..7272cd6014d 100644
--- a/lib/ExecutionEngine/Orc/Core.cpp
+++ b/lib/ExecutionEngine/Orc/Core.cpp
@@ -462,7 +462,7 @@ void ReExportsMaterializationUnit::materialize(
// FIXME: We're creating a SymbolFlagsMap and a std::map of
// std::sets just to add one dependency here. This needs a
// re-think.
- Resolved.insert(KV.first);
+ Resolved.insert(KV.second.Aliasee);
}
QueryInfo->R.resolve(ResolutionMap);