[debuginfo-tests] 7ac4c31 - Fix undefined variable bug in debuginfotests lit.cfg.py
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 15:19:08 PDT 2019
Author: Reid Kleckner
Date: 2019-10-31T15:19:02-07:00
New Revision: 7ac4c31762fbe1605e2e701e4b48698f0f95a5c7
URL: https://github.com/llvm/llvm-project/commit/7ac4c31762fbe1605e2e701e4b48698f0f95a5c7
DIFF: https://github.com/llvm/llvm-project/commit/7ac4c31762fbe1605e2e701e4b48698f0f95a5c7.diff
LOG: Fix undefined variable bug in debuginfotests lit.cfg.py
Added:
Modified:
debuginfo-tests/lit.cfg.py
Removed:
################################################################################
diff --git a/debuginfo-tests/lit.cfg.py b/debuginfo-tests/lit.cfg.py
index dd0b0f7fd98b..a8d23f34fe65 100644
--- a/debuginfo-tests/lit.cfg.py
+++ b/debuginfo-tests/lit.cfg.py
@@ -87,6 +87,7 @@ def get_required_attr(config, attr_name):
# 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:
More information about the llvm-commits
mailing list