[all-commits] [llvm/llvm-project] bf4da5: [clang] [sanitizer] add pseudofunction to indicate...

Florian Mayer via All-commits all-commits at lists.llvm.org
Tue Mar 25 15:57:21 PDT 2025


  Branch: refs/heads/users/fmayer/spr/main.clang-sanitizer-add-pseudofunction-to-indicate-array-bounds-check
  Home:   https://github.com/llvm/llvm-project
  Commit: bf4da5097a7f9ef2c8a38e22a9726147ca162228
      https://github.com/llvm/llvm-project/commit/bf4da5097a7f9ef2c8a38e22a9726147ca162228
  Author: Florian Mayer <fmayer at google.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/test/CodeGen/bounds-checking-debuginfo.c

  Log Message:
  -----------
  [clang] [sanitizer] add pseudofunction to indicate array-bounds check (#128977)

With this, we can:

* use profilers to estimate how many cycles we spend on these checks
(subject to caveats),
* more easily see why we crashed.



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