aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CoverageMappingGen.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2024-12-18 15:36:12 -0800
committerGitHub <noreply@github.com>2024-12-18 15:36:12 -0800
commit7eaf4708098c216bf432fc7e0bc79c3771e793a4 (patch)
tree1c5502120259f400d40b59c7ee2c91b8c68dc9d4 /clang/lib/CodeGen/CoverageMappingGen.cpp
parent0fd7c49a770da936b704ea9b2162a85377b1e374 (diff)
downloadllvm-7eaf4708098c216bf432fc7e0bc79c3771e793a4.zip
llvm-7eaf4708098c216bf432fc7e0bc79c3771e793a4.tar.gz
llvm-7eaf4708098c216bf432fc7e0bc79c3771e793a4.tar.bz2
[ubsan] Add -fsanitize-merge (and -fno-sanitize-merge) (#120464)
'-mllvm -ubsan-unique-traps' (https://github.com/llvm/llvm-project/pull/65972) applies to all UBSan checks. This patch introduces -fsanitize-merge (defaults to on, maintaining the status quo behavior) and -fno-sanitize-merge (equivalent to '-mllvm -ubsan-unique-traps'), with the option to selectively applying non-merged handlers to a subset of UBSan checks (e.g., -fno-sanitize-merge=bool,enum). N.B. we do not use "trap" in the argument name since https://github.com/llvm/llvm-project/pull/119302 has generalized -ubsan-unique-traps to work for non-trap modes (min-rt and regular rt). This patch does not remove the -ubsan-unique-traps flag; that will override -f(no-)sanitize-merge.
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions