From bf1e1d68bbea739827a846486cc7945dcf4d8d74 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 19 Mar 2025 11:16:09 +0800 Subject: [PATCH] [Compier-RT][HWASAN] Enable hwasan_globals option by default. Signed-off-by: Eric --- llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp index b01c74320380..02539cce7e92 100644 --- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp @@ -147,7 +147,7 @@ static cl::opt ClGenerateTagsWithCalls( cl::init(false)); static cl::opt ClGlobals("hwasan-globals", cl::desc("Instrument globals"), - cl::Hidden, cl::init(false)); + cl::Hidden, cl::init(true)); static cl::opt ClMatchAllTag( "hwasan-match-all-tag", -- Gitee