[llvm-branch-commits] [llvm] [asan] isInterestingAlloca: remove the isAllocaPromotable condition (PR #77221)
Fangrui Song via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Feb 15 00:25:11 PST 2024
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/77221
>From 46d21cd0327e352491be77bb86740167984c0209 Mon Sep 17 00:00:00 2001
From: Fangrui Song <i at maskray.me>
Date: Wed, 14 Feb 2024 23:26:34 -0800
Subject: [PATCH 1/2] fix cl::desc
Created using spr 1.3.4
---
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
index 2e8d9bd748df82..029c07636d1784 100644
--- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -347,7 +347,7 @@ static cl::opt<bool>
static cl::opt<bool> ClInstrumentUninterestingAllocas(
"asan-instrument-uninteresting-allocas",
- cl::desc("Do not instrument uninteresting allocas"), cl::Hidden);
+ cl::desc("Instrument uninteresting allocas"), cl::Hidden);
static cl::opt<AsanCtorKind> ClConstructorKind(
"asan-constructor-kind",
>From c2eaeada2ce0d4d59810c497eda8e9c0d8a417c7 Mon Sep 17 00:00:00 2001
From: Fangrui Song <i at maskray.me>
Date: Thu, 15 Feb 2024 00:25:03 -0800
Subject: [PATCH 2/2] revert an undeeded clang-format after restoring the
original version of the patch
Created using spr 1.3.4
---
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
index a115a8967dcb7d..4c29e02ea0df38 100644
--- a/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -346,7 +346,8 @@ static cl::opt<bool>
cl::Hidden, cl::init(true));
static cl::opt<AsanCtorKind> ClConstructorKind(
- "asan-constructor-kind", cl::desc("Sets the ASan constructor kind"),
+ "asan-constructor-kind",
+ cl::desc("Sets the ASan constructor kind"),
cl::values(clEnumValN(AsanCtorKind::None, "none", "No constructors"),
clEnumValN(AsanCtorKind::Global, "global",
"Use global constructors")),
More information about the llvm-branch-commits
mailing list