diff options
author | Levon Ter-Grigoryan <patriosthegreat@protonmail.ch> | 2020-01-14 14:33:43 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2020-01-14 14:59:56 +0100 |
commit | a705cf1acbe94498f7fcca4e89be6d4820271227 (patch) | |
tree | 03ae4c768dbec25047a93ef5cee613c7bf8a2f81 /lldb/packages/Python | |
parent | 77cc690bae310f4cba0a34f2da8a37a7c9a10a82 (diff) | |
download | bcm5719-llvm-a705cf1acbe94498f7fcca4e89be6d4820271227.tar.gz bcm5719-llvm-a705cf1acbe94498f7fcca4e89be6d4820271227.zip |
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
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py | 5 |
1 files changed, 3 insertions, 2 deletions
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'])]) |