[all-commits] [llvm/llvm-project] a37678: [compiler-rt][ubsan] Fix suppressions for inlined ...

maflcko via All-commits all-commits at lists.llvm.org
Thu Jul 16 22:42:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a376783e2ed3a44f63991c97513711faad09525b
      https://github.com/llvm/llvm-project/commit/a376783e2ed3a44f63991c97513711faad09525b
  Author: maflcko <6399679+maflcko at users.noreply.github.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M compiler-rt/lib/ubsan/ubsan_diag.cpp
    M compiler-rt/test/ubsan/TestCases/Integer/suppressions-nested-calls.c

  Log Message:
  -----------
  [compiler-rt][ubsan] Fix suppressions for inlined functions (#206735)

Align suppression PC handling with getCallerLocation(), so function
suppressions identify the inlined function that caused a report.

Intentionally match only the innermost inline frame.

Extend suppressions-nested-calls.c coverage to -O1.


Fixes https://github.com/llvm/llvm-project/issues/209501

---------

Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_ at 721217.xyz>



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