From a705cf1acbe94498f7fcca4e89be6d4820271227 Mon Sep 17 00:00:00 2001 From: Levon Ter-Grigoryan Date: Tue, 14 Jan 2020 14:33:43 +0100 Subject: Expression eval lookup speedup by not returning methods in ManualDWARFIndex::GetFunctions Summary: This change is connected with https://reviews.llvm.org/D69843 In large codebases, we sometimes see Module::FindFunctions (when called from ClangExpressionDeclMap::FindExternalVisibleDecls) returning huge amounts of functions. In current fix I trying to return only function_fullnames from ManualDWARFIndex::GetFunctions when eFunctionNameTypeFull is passed as argument. Reviewers: labath, jarin, aprantl Reviewed By: labath Subscribers: shafik, clayborg, teemperor, arphaman, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D70846 --- lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py') diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py index 3dfe4f29d18..10e400f4e72 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py @@ -1,7 +1,8 @@ -from lldbsuite.test import lldbinline +from lldbsuite.test import lldbinline, lldbplatformutil from lldbsuite.test import decorators lldbinline.MakeInlineTest( __file__, globals(), [ decorators.expectedFailureAll( - bugnumber="llvm.org/PR36715")]) + bugnumber="llvm.org/PR36715", + oslist=lldbplatformutil.getDarwinOSTriples()+['windows'])]) -- cgit v1.2.3