[Lldb-commits] [PATCH] D41086: [lldb] Stop searching for a symbol in a pdb by regex

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 22 07:54:00 PST 2017


We should fix the test case to not require regex, or add SymbolFile::FindTypesByRegex(...) and pass that through to public API if needed. Not sure where the test is failing (gtest, or public API test).

> On Dec 22, 2017, at 2:01 AM, Pavel Labath via Phabricator <reviews at reviews.llvm.org> wrote:
> 
> labath added a comment.
> 
> This is making the windows unit tests fail: http://lab.llvm.org:8011/builders/lldb-windows7-android/builds/7378/steps/run%20unit%20tests/logs/stdio. If I understand correctly, this changes FindTypes to **not** search by regex.
> If that's the case, then the `SymbolFilePDBTests::TestRegexNameMatch` needs to be updated to not expect that `.*` will find a match.
> Also, while technically not failing, the `SymbolFilePDBTests::TestMaxMatches` also looks weird  in this new world, and probably needs updating.
> 
> Could you look into those?
> 
> 
> Repository:
>  rL LLVM
> 
> https://reviews.llvm.org/D41086
> 
> 
> 



More information about the lldb-commits mailing list