From f94245fb9709242b7a55522d70b2a7b5b1d580f9 Mon Sep 17 00:00:00 2001 From: cs1111 Date: Mon, 11 Aug 2025 14:18:11 +0800 Subject: [PATCH] fix:asan build failed Signed-off-by: cs1111 Change-Id: I8f35fc29b1463deb6907a193964118da6fcb0186 --- services/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/main.cpp b/services/main.cpp index 485b4e20c..33156474d 100644 --- a/services/main.cpp +++ b/services/main.cpp @@ -18,7 +18,7 @@ #endif #include "fault_logger_daemon.h" -#if defined(DEBUG_CRASH_LOCAL_HANDLER) +#if defined(DEBUG_CRASH_LOCAL_HANDLER) && !defined(DFX_ALLOCATE_ASAN) #include "dfx_dump_request.h" #include "dfx_signal_local_handler.h" #include "dfx_util.h" -- Gitee