https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/123228
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/122994
This reverts commit 1515caf7a59dc20cb932b724b2ef5c1d1a593427
(https://github.com/llvm/llvm-project/pull/122833) i.e., relands
7d8b4eb0ead277f41ff69525ed807f9f6e227f37
(https://github.com/llvm/llvm-project/pul
@@ -20,13 +20,22 @@
namespace llvm {
+struct LowerAllowCheckOptions {
thurstond wrote:
Done
https://github.com/llvm/llvm-project/pull/122765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
@@ -20,13 +20,22 @@
namespace llvm {
+struct LowerAllowCheckOptions {
+ std::vector placeholder; // TODO: cutoffs
thurstond wrote:
Done
https://github.com/llvm/llvm-project/pull/122765
___
cfe-commits mailing lis
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/122765
>From 6c244a083b458637f35149547270ba25675ca417 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Mon, 13 Jan 2025 18:38:14 +
Subject: [PATCH 1/3] [sanitizer][NFCI] Add Options to LowerAllowCheckPass
This
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/122765
>From 6c244a083b458637f35149547270ba25675ca417 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Mon, 13 Jan 2025 18:38:14 +
Subject: [PATCH 1/2] [sanitizer][NFCI] Add Options to LowerAllowCheckPass
This
https://github.com/thurstond ready_for_review
https://github.com/llvm/llvm-project/pull/122765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/122765
>From 261f722bcdefc143ceb25bd6d8e5499e189fc647 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Mon, 13 Jan 2025 18:38:14 +
Subject: [PATCH 1/2] [sanitizer][NFCI] Add Options to LowerAllowCheckPass
This
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/122765
This is glue code to convert LowerAllowCheckPass from a FUNCTION_PASS to
FUNCTION_PASS_WITH_PARAMS. The parameters are currently unused.
Future work will plumb `-fsanitize-skip-hot-cutoff` (introduced in
htt
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/122540
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
thurstond wrote:
> these checks into Toolchains/Linux.cpp so it triggers that code:
IMO adding the Android msan check into Toolchains/Linux.cpp would be cleaner
because it's:
1) only a 1 or 2 line change (compared with the current ~10 lines)
2) this file handles all the broad compatibility chec
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/122511
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/122392
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3603,6 +3603,8 @@ void CodeGenFunction::EmitCheck(
llvm::Value *TrapCond = nullptr;
bool NoMerge = false;
for (int i = 0, n = Checked.size(); i < n; ++i) {
thurstond wrote:
https://github.com/llvm/llvm-project/pull/122511
https://github.com/llvm/llv
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/122511
The `Checked` parameter of `CodeGenFunction::EmitCheck` is of type
`ArrayRef>`, which is overly
generalized: SanitizerMask can denote that zero or more sanitizers are enabled,
but `EmitCheck` requires that e
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/122408
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/121619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -14,10 +14,35 @@
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringSwitch.h"
+#include "llvm/Support/Format.h"
#include "llvm/Support/MathExtras.h"
+#include "llvm/Support/raw_ostream.h"
+#include
+#include
using namespace clang;
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/122346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/122392
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/122392
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/122392
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/122392
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/122392
The `Checked` parameter of `CodeGenFunction::EmitCheck` is of type
`ArrayRef>`. In the general case,
SanitizerMask can denote that zero or more sanitizers are enabled, but I
believe (from tests and inspectin
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/121619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/121619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2649,6 +2649,14 @@ def fsanitize_undefined_strip_path_components_EQ :
Joined<["-"], "fsanitize-unde
HelpText<"Strip (or keep only, if negative) a given number of path
components "
"when emitting check metadata.">,
MarshallingInfoInt, "0",
"int">;
+def fno_
@@ -1154,3 +1154,56 @@
// RUN: not %clang --target=x86_64-linux-gnu -fsanitize=realtime,undefined %s
-### 2>&1 | FileCheck %s --check-prefix=CHECK-REALTIME-UBSAN
// CHECK-REALTIME-UBSAN: error: invalid argument '-fsanitize=realtime' not
allowed with '-fsanitize=undefined'
+
@@ -1154,3 +1154,58 @@
// RUN: not %clang --target=x86_64-linux-gnu -fsanitize=realtime,undefined %s
-### 2>&1 | FileCheck %s --check-prefix=CHECK-REALTIME-UBSAN
// CHECK-REALTIME-UBSAN: error: invalid argument '-fsanitize=realtime' not
allowed with '-fsanitize=undefined'
+
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/121619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2649,6 +2649,14 @@ def fsanitize_undefined_strip_path_components_EQ :
Joined<["-"], "fsanitize-unde
HelpText<"Strip (or keep only, if negative) a given number of path
components "
"when emitting check metadata.">,
MarshallingInfoInt, "0",
"int">;
+def fno_
@@ -44,6 +92,19 @@ void clang::serializeSanitizerSet(SanitizerSet Set,
#include "clang/Basic/Sanitizers.def"
}
+void clang::serializeSanitizerMaskCutoffs(
+const SanitizerMaskCutoffs &Cutoffs, SmallVectorImpl &Values)
{
+#define SANITIZER(NAME, ID)
@@ -46,26 +47,20 @@ bool clang::parseSanitizerWeightedValue(StringRef Value,
bool AllowGroups,
#include "clang/Basic/Sanitizers.def"
.Default(SanitizerMask());
- if (ParsedKind) {
-size_t equalsIndex = Value.find_first_of('=');
-if (e
@@ -154,6 +154,8 @@ struct SanitizerKind {
#include "clang/Basic/Sanitizers.def"
}; // SanitizerKind
+using SanitizerMaskCutoffs = std::array;
thurstond wrote:
Like this?
https://github.com/llvm/llvm-project/pull/121619/commits/56ba349e7f085fca3bfd531ea219b1
@@ -1436,6 +1436,19 @@ static SmallVector
serializeSanitizerKinds(SanitizerSet S) {
return Values;
}
+static void parseSanitizerWeightedKinds(
+StringRef FlagName, const std::vector &Sanitizers,
+DiagnosticsEngine &Diags, SanitizerSet &S, SanitizerMaskCutoffs *Cutof
@@ -186,10 +188,24 @@ struct SanitizerSet {
/// Returns a non-zero SanitizerMask, or \c 0 if \p Value is not known.
SanitizerMask parseSanitizerValue(StringRef Value, bool AllowGroups);
+/// Parse a single weighted value (e.g., 'undefined=0.05') from a -fsanitize=
or
+/// -fn
@@ -154,6 +154,8 @@ struct SanitizerKind {
#include "clang/Basic/Sanitizers.def"
}; // SanitizerKind
+typedef double SanitizerMaskWeights[SanitizerKind::SO_Count];
thurstond wrote:
Done
https://github.com/llvm/llvm-project/pull/121619
___
https://github.com/thurstond ready_for_review
https://github.com/llvm/llvm-project/pull/121619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3602,6 +3602,7 @@ void CodeGenFunction::EmitCheck(
llvm::Value *RecoverableCond = nullptr;
llvm::Value *TrapCond = nullptr;
bool NoMerge = false;
+ bool SanitizeGuardChecks = ClSanitizeGuardChecks;
thurstond wrote:
Noted for the next patch (this pat
@@ -3615,9 +3616,12 @@ void CodeGenFunction::EmitCheck(
thurstond wrote:
Done
https://github.com/llvm/llvm-project/pull/121619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
@@ -26,6 +26,8 @@ class SanitizerArgs {
SanitizerSet RecoverableSanitizers;
SanitizerSet TrapSanitizers;
SanitizerSet MergeHandlers;
+ SanitizerSet TopHot;
+ SanitizerMaskWeights TopHotWeights = {0};
thurstond wrote:
Renamed to Cutoff - is that ok inst
@@ -2649,6 +2649,11 @@ def fsanitize_undefined_strip_path_components_EQ :
Joined<["-"], "fsanitize-unde
HelpText<"Strip (or keep only, if negative) a given number of path
components "
"when emitting check metadata.">,
MarshallingInfoInt, "0",
"int">;
+def fno_
@@ -2649,6 +2649,11 @@ def fsanitize_undefined_strip_path_components_EQ :
Joined<["-"], "fsanitize-unde
HelpText<"Strip (or keep only, if negative) a given number of path
components "
"when emitting check metadata.">,
MarshallingInfoInt, "0",
"int">;
+def fno_
@@ -154,6 +154,8 @@ struct SanitizerKind {
#include "clang/Basic/Sanitizers.def"
}; // SanitizerKind
+typedef double SanitizerMaskWeights[SanitizerKind::SO_Count];
thurstond wrote:
Done
https://github.com/llvm/llvm-project/pull/121619
___
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/121619
>From ca1fabc5ea75af0acdd1969c0ad505e04103e1c9 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Sat, 4 Jan 2025 02:53:00 +
Subject: [PATCH 1/9] [sanitizer] Parse weighted sanitizer args and
-fno-sanitiz
@@ -3615,9 +3616,12 @@ void CodeGenFunction::EmitCheck(
if (!CGM.getCodeGenOpts().SanitizeMergeHandlers.has(Checked[i].second))
NoMerge = true;
+
+if (!CGM.getCodeGenOpts().NoSanitizeTopHot.has(Checked[i].second))
+ SanitizeGuardChecks = true;
}
- if (
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/121619
>From ca1fabc5ea75af0acdd1969c0ad505e04103e1c9 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Sat, 4 Jan 2025 02:53:00 +
Subject: [PATCH 1/5] [sanitizer] Parse weighted sanitizer args and
-fno-sanitiz
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/121619
>From ca1fabc5ea75af0acdd1969c0ad505e04103e1c9 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Sat, 4 Jan 2025 02:53:00 +
Subject: [PATCH 1/4] [sanitizer] Parse weighted sanitizer args and
-fno-sanitiz
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/121619
>From ca1fabc5ea75af0acdd1969c0ad505e04103e1c9 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Sat, 4 Jan 2025 02:53:00 +
Subject: [PATCH 1/3] [sanitizer] Parse weighted sanitizer args and
-fno-sanitiz
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/121619
>From ca1fabc5ea75af0acdd1969c0ad505e04103e1c9 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Sat, 4 Jan 2025 02:53:00 +
Subject: [PATCH 1/2] [sanitizer] Parse weighted sanitizer args and
-fno-sanitiz
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/121619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/121619
This adds a function to parse weighted sanitizer flags (e.g.,
-fsanitize-blah=undefined=0.5,null=0.3) and adds the plumbing to apply that to
-fno-sanitize-top-hot from the frontend to backend.
-fno-sanitize-
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/121162
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/121162
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/120682
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120682
>From ee51ed7bd68df7b2dae3f1426471b34d0388a42f Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Fri, 20 Dec 2024 04:11:36 +
Subject: [PATCH 1/5] Remove -bounds-checking-unique-traps (replace with
-fno-s
@@ -1281,31 +1281,43 @@ parseRegAllocFastPassOptions(PassBuilder &PB, StringRef
Params) {
return Opts;
}
-Expected
+Expected
parseBoundsCheckingOptions(StringRef Params) {
- BoundsCheckingPass::ReportingMode Mode =
- BoundsCheckingPass::ReportingMode::Trap;
+ Bounds
@@ -299,7 +303,7 @@ void BoundsCheckingPass::printPipeline(
raw_ostream &OS, function_ref MapClassName2PassName)
{
static_cast *>(this)->printPipeline(
OS, MapClassName2PassName);
- switch (Mode) {
+ switch (Options.Mode) {
thurstond wrote:
Adde
@@ -445,9 +445,10 @@ New Compiler Flags
- The ``-Warray-compare-cxx26`` warning has been added to warn about array
comparison
starting from C++26, this warning is enabled as an error by default.
-- '-fsanitize-merge' (default) and '-fno-sanitize-merge' have been added for
-
@@ -5,6 +5,21 @@
; RUN: opt < %s -passes='bounds-checking' -S | FileCheck %s
--check-prefixes=RTABORT
; RUN: opt < %s -passes='bounds-checking' -S | FileCheck %s
--check-prefixes=MINRT
; RUN: opt < %s -passes='bounds-checking' -S | FileCheck %s
--check-prefixes=MIN
@@ -488,8 +489,11 @@ Removed Compiler Flags
derivatives) is now removed, since it's no longer possible to suppress the
diagnostic (see above). Users can expect an `unknown warning` diagnostic if
it's still in use.
-- The experimental flag '-ubsan-unique-traps' has been re
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120682
>From ee51ed7bd68df7b2dae3f1426471b34d0388a42f Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Fri, 20 Dec 2024 04:11:36 +
Subject: [PATCH 1/4] Remove -bounds-checking-unique-traps (replace with
-fno-s
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/120682
-fno-sanitize-merge (introduced in #120511) combines the functionality of
-ubsan-unique-traps and -bounds-checking-unique-traps, while allowing
fine-grained control of which UBSan checks to prevent merging. #
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120682
>From ee51ed7bd68df7b2dae3f1426471b34d0388a42f Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Fri, 20 Dec 2024 04:11:36 +
Subject: [PATCH 1/2] Remove -bounds-checking-unique-traps (replace with
-fno-s
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120682
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120682
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120620
>From f7ede969c6d6a66d750bd420a15d7054b5848449 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Thu, 19 Dec 2024 18:46:38 +
Subject: [PATCH] [BoundsSan] Update BoundsChecking.cpp to use no-merge
attribu
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/120613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120613
>From 99ea8971602a0e1f3ecb2013fd0659b43ec145ce Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Thu, 19 Dec 2024 02:42:26 +
Subject: [PATCH 1/4] [ubsan] Remove -ubsan-unique-traps (replace with
-fno-san
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120613
>From 99ea8971602a0e1f3ecb2013fd0659b43ec145ce Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Thu, 19 Dec 2024 02:42:26 +
Subject: [PATCH 1/3] [ubsan] Remove -ubsan-unique-traps (replace with
-fno-san
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120620
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120620
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/120620
… applicable
https://github.com/llvm/llvm-project/pull/65972 introduced -ubsan-unique-traps
and -bounds-checking-unique-traps, which attach the function size to the
ubsantrap intrinsic.
https://github.com/l
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond ready_for_review
https://github.com/llvm/llvm-project/pull/120613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,10 +1,26 @@
// NOTE: Assertions have mostly been autogenerated by
utils/update_cc_test_checks.py UTC_ARGS: --version 5
-// The most important assertion is the attributes at the end of the file, which
-// shows whether -ubsan-unique-traps attaches 'nomerge' to each ubsan ca
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120613
>From 99ea8971602a0e1f3ecb2013fd0659b43ec145ce Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Thu, 19 Dec 2024 02:42:26 +
Subject: [PATCH 1/2] [ubsan] Remove -ubsan-unique-traps (replace with
-fno-san
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/120613
-fno-sanitize-merge (introduced in
https://github.com/llvm/llvm-project/pull/120511) duplicates the functionality
of -ubsan-unique-traps but also allows individual checks to be specified e.g.,
* "-fno-sanitiz
thurstond wrote:
I've reverted it in
https://github.com/llvm/llvm-project/commit/2b9abf0db2d106c7208b4372e662ef5df869e6f1
to clear up some buildbots
https://github.com/llvm/llvm-project/pull/116462
___
cfe-commits mailing list
cfe-commits@lists.llvm.
Author: Thurston Dang
Date: 2024-12-19T17:02:16Z
New Revision: 2b9abf0db2d106c7208b4372e662ef5df869e6f1
URL:
https://github.com/llvm/llvm-project/commit/2b9abf0db2d106c7208b4372e662ef5df869e6f1
DIFF:
https://github.com/llvm/llvm-project/commit/2b9abf0db2d106c7208b4372e662ef5df869e6f1.diff
LOG:
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/120511
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,10 +1,26 @@
// NOTE: Assertions have mostly been autogenerated by
utils/update_cc_test_checks.py UTC_ARGS: --version 5
-// The most important assertion is the attributes at the end of the file, which
-// shows whether -ubsan-unique-traps attaches 'nomerge' to each ubsan ca
Author: Thurston Dang
Date: 2024-12-18T23:50:01Z
New Revision: 2691b964150c77a9e6967423383ad14a7693095e
URL:
https://github.com/llvm/llvm-project/commit/2691b964150c77a9e6967423383ad14a7693095e
DIFF:
https://github.com/llvm/llvm-project/commit/2691b964150c77a9e6967423383ad14a7693095e.diff
LOG:
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/120464
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/19] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/18] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/17] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/16] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/15] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/14] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120464
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/13] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/12] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
@@ -68,6 +68,8 @@ static const SanitizerMask TrappingSupported =
SanitizerKind::ImplicitConversion | SanitizerKind::Nullability |
SanitizerKind::LocalBounds | SanitizerKind::CFI |
SanitizerKind::FloatDivideByZero | SanitizerKind::ObjCCast;
+static const SanitizerMas
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/120464
>From 2c0da9aa6f58900387fa91cdc6bcb41e0235d94c Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 18 Dec 2024 18:37:11 +
Subject: [PATCH 01/11] [ubsan] Add -fsanitize-nonmerged-handlers (and
-fno-san
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120464
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/120464
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2548,6 +2548,14 @@ def fsanitize_trap_EQ : CommaJoined<["-"],
"fsanitize-trap=">, Group;
+def fsanitize_nonmerged_handlers_EQ
+: CommaJoined<["-"], "fsanitize-nonmerged-handlers=">,
+ Group,
+ HelpText<"Enable non-merged handlers for specified sanitizers">;
1 - 100 of 230 matches
Mail list logo