milvus/cmd/asan/asan_leak_check.go
Zhen Ye 75da36d1aa
enhance: enable asan for milvus (#35627)
issue: #35626

Signed-off-by: chyezh <chyezh@outlook.com>
2024-08-23 21:06:58 +08:00

12 lines
155 B
Go

//go:build use_asan
// +build use_asan
package asan
// void __lsan_do_leak_check(void);
import "C"
func LsanDoLeakCheck() {
C.__lsan_do_leak_check()
}