Fix undefined variable bug in debuginfotests lit.cfg.py
authorReid Kleckner <rnk@google.com>
Thu, 31 Oct 2019 22:18:54 +0000 (15:18 -0700)
committerReid Kleckner <rnk@google.com>
Thu, 31 Oct 2019 22:19:02 +0000 (15:19 -0700)
debuginfo-tests/lit.cfg.py

index dd0b0f7..a8d23f3 100644 (file)
@@ -87,6 +87,7 @@ llvm_config.with_environment('PATHTOCLANGCL', llvm_config.use_llvm_tool('clang-c
 
 # Check which debuggers are available:
 built_lldb = llvm_config.use_llvm_tool('lldb', search_env='CLANG')
+lldb_path = None
 if built_lldb is not None:
     lldb_path = built_lldb
 elif lit.util.which('lldb') is not None: