commit | cd923bbc0b66c204272175e19cb0ec5819f60fa1 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Fri Aug 05 18:26:56 2016 +0000 |
committer | Lang Hames <lhames@gmail.com> | Fri Aug 05 18:26:56 2016 +0000 |
tree | 87f08c0743935c839da74abe5cf19f92b4908116 | |
parent | cedb0b6b7e2fb9446ef9a34706f68a9f70c32a43 [diff] |
[ORC] Change LogicalDylib::LogicalModuleHandle from an iterator to an index. This prevents handles from being invalidated (through iterator invalidation) when new modules are added. No test-case yet: This bug was uncovered during work on an upcoming patch for weak symbol support and the testcase for that feature will implicitly test for correct behavior here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277847 91177308-0d34-0410-b5e6-96231b3b80d8