From 6d325cb5cb2c9d3c9780926ea87da992b09de583 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 13 Feb 2017 22:04:02 +0000 Subject: Fix buildbots. llvm-svn: 294991 --- .../Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite') diff --git a/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py b/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py index 024b157ab0d..3d228069dc2 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py @@ -43,7 +43,7 @@ class TestNameLookup(TestBase): for i in range(num_symbols): symbol = exe_module.GetSymbolAtIndex(i); name = symbol.GetName() - if 'unique_function_name' in name: + if name and 'unique_function_name' in name: mangled = symbol.GetMangledName() if mangled: mangled_to_symbol[mangled] = symbol -- cgit v1.2.3