[llvm-branch-commits] [clang] [llvm] [UBSan] Use -fsanitize-handler-preserve-all-regs in codegen (PR #168645)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 20 11:07:20 PST 2025


================
@@ -1590,21 +1590,31 @@ parseBoundsCheckingOptions(StringRef Params) {
       Options.Rt = {
           /*MinRuntime=*/false,
           /*MayReturn=*/true,
+          /*HandlerPreserveAllRegs=*/false,
----------------
vitalybuka wrote:

These ifs do not scale well :)

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


More information about the llvm-branch-commits mailing list