[Lldb-commits] [lldb] r294991 - Fix buildbots.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 13 14:04:03 PST 2017


Author: gclayton
Date: Mon Feb 13 16:04:02 2017
New Revision: 294991

URL: http://llvm.org/viewvc/llvm-project?rev=294991&view=rev
Log:
Fix buildbots.


Modified:
    lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py?rev=294991&r1=294990&r2=294991&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py Mon Feb 13 16:04:02 2017
@@ -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




More information about the lldb-commits mailing list