[all-commits] [llvm/llvm-project] 5f9ed2: [clang][CodeGen] Guard ubsan checks with `llvm.all...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Apr 5 09:07:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f9ed2ff8364ff3e4fac410472f421299dafa793
      https://github.com/llvm/llvm-project/commit/5f9ed2ff8364ff3e4fac410472f421299dafa793
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/test/CodeGen/allow-ubsan-check.c

  Log Message:
  -----------
  [clang][CodeGen] Guard ubsan checks with `llvm.allow.ubsan.check` (#87436)

Intrinsic inserted into CodeGenFunction::EmitCheck, which
is not mostly used by CFI.

CFI is not the goal, and fixing inconsistencies with CFI is outside of
the cope of the patch.

RFC:
https://discourse.llvm.org/t/rfc-add-llvm-experimental-hot-intrinsic-or-llvm-hot/77641



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list