diff options
author | Lang Hames <lhames@gmail.com> | 2018-07-11 04:39:11 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-07-11 04:39:11 +0000 |
commit | fdf1a855e01fc935e37c282308a5c4ecbcedb79b (patch) | |
tree | 27dc419f6e3966da38444d5dcf6e45a0c88e0bab /llvm/lib/ExecutionEngine | |
parent | 92617559bbb432e45efb462658020529c1ac9237 (diff) | |
download | bcm5719-llvm-fdf1a855e01fc935e37c282308a5c4ecbcedb79b.tar.gz bcm5719-llvm-fdf1a855e01fc935e37c282308a5c4ecbcedb79b.zip |
[ORC] Add unit tests for the reexports utility that were left out of r336741,
and fix a bug that these exposed.
llvm-svn: 336760
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/Core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp index 38f2213a85f..7272cd6014d 100644 --- a/llvm/lib/ExecutionEngine/Orc/Core.cpp +++ b/llvm/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); |