commit | cffc876a1458c7da835a1babeb7f66e7e6474f97 | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Mon Oct 08 04:19:16 2018 +0000 |
committer | Zachary Turner <zturner@google.com> | Mon Oct 08 04:19:16 2018 +0000 |
tree | 4eca268bfa443b9b7e727d7b8066911f10e4deb8 | |
parent | 78efcda4e245ffe04e48e66e842013088920f66c [diff] |
[PDB] Add the ability to lookup global symbols by name. The Globals table is a hash table keyed on symbol name, so it's possible to lookup symbols by name in O(1) time. Add a function to the globals stream to do this, and add an option to llvm-pdbutil to exercise this, then use it to write some tests to verify correctness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343951 91177308-0d34-0410-b5e6-96231b3b80d8