From 4aa3d321fa0e2f291e063921e9d4915a4f51a3d5 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Sat, 15 Jun 2024 16:26:37 +0800 Subject: [PATCH] cltest.InitDebug --- cl/cltest/cltest.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cl/cltest/cltest.go b/cl/cltest/cltest.go index 6b1208c1..7c6cb59a 100644 --- a/cl/cltest/cltest.go +++ b/cl/cltest/cltest.go @@ -41,8 +41,11 @@ import ( ) func init() { - cl.SetDebug(cl.DbgFlagAll) llssa.Initialize(llssa.InitAll | llssa.InitNative) +} + +func InitDebug() { + cl.SetDebug(cl.DbgFlagAll) llssa.SetDebug(llssa.DbgFlagAll) }