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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to