diff --git a/debuginfo-tests/lit.site.cfg.py.in b/debuginfo-tests/lit.site.cfg.py.in index 8c4481a9f949..09ae4a1da779 100644 --- a/debuginfo-tests/lit.site.cfg.py.in +++ b/debuginfo-tests/lit.site.cfg.py.in @@ -19,7 +19,8 @@ config.host_arch = "@HOST_ARCH@" config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@" -@LIT_SITE_CFG_IN_FOOTER@ +import lit.llvm +lit.llvm.initialize(lit_config, config) # Let the main config do the real work. lit_config.load_config(config, "@DEBUGINFO_TESTS_SOURCE_DIR@/lit.cfg.py")