[clang] Add support for builtin_verbose_trap (PR #79230)

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 24 09:21:38 PST 2024


adrian-prantl wrote:

For context, we've been using this same trick in the Swift standard library for a long time now, to get a good trade-off between space-efficient code generation and usability for inlineable functions such as the arithmetic `+` operator, which traps on overflow.


https://github.com/llvm/llvm-project/pull/79230


More information about the cfe-commits mailing list