Fix buildbots.

llvm-svn: 294991
This commit is contained in:
Greg Clayton 2017-02-13 22:04:02 +00:00
parent 5d0c114630
commit 6d325cb5cb
1 changed files with 1 additions and 1 deletions

View File

@ -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