diff options
| author | Aaron Smith <aaron.smith@microsoft.com> | 2017-12-28 06:29:59 +0000 |
|---|---|---|
| committer | Aaron Smith <aaron.smith@microsoft.com> | 2017-12-28 06:29:59 +0000 |
| commit | 364cbfe9641a948244bc4c903eff6c8fd5127dab (patch) | |
| tree | 611c3bdd6429d478ff92554128d2905f79f5538d /lldb/source/Plugins/SymbolFile/PDB | |
| parent | 6d31001cd638c7b72362388618369af576822691 (diff) | |
| download | bcm5719-llvm-364cbfe9641a948244bc4c903eff6c8fd5127dab.tar.gz bcm5719-llvm-364cbfe9641a948244bc4c903eff6c8fd5127dab.zip | |
Update failing PDB unit tests that are searching for symbols by regex
Summary: D41086 fixed an exception in FindTypes()/FindTypesByRegex() and caused two lldb unit test to fail. This change updates the unit tests to pass again.
Reviewers: zturner, lldb-commits, labath, clayborg, asmith
Reviewed By: asmith
Differential Revision: https://reviews.llvm.org/D41550
llvm-svn: 321511
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/PDB')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h index d78358c714a..ae407340798 100644 --- a/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h +++ b/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h @@ -140,6 +140,10 @@ public: size_t FindTypes(const std::vector<lldb_private::CompilerContext> &context, bool append, lldb_private::TypeMap &types) override; + void FindTypesByRegex(const lldb_private::RegularExpression ®ex, + uint32_t max_matches, + lldb_private::TypeMap &types); + lldb_private::TypeList *GetTypeList() override; size_t GetTypes(lldb_private::SymbolContextScope *sc_scope, |

