[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)
Dan Liew via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Mar 5 11:39:37 PST 2025
delcypher wrote:
@fmayer The usual approach for indicating instrumentation in Clang is to use opt-remarks. This is the approach we use for `-fbounds-safety`.
In `-fbounds-safety` we embed "trap reasons" in debug info so that debuggers and symbolication tools can better understand the reason for trapping.
What's the reason for using debug info, instead of opt-remarks here?
https://github.com/llvm/llvm-project/pull/128977
More information about the llvm-branch-commits
mailing list