[all-commits] [llvm/llvm-project] 5defe4: [sanitizer][NFCI] Add 'SanitizerAnnotateDebugInfo'...

Thurston Dang via All-commits all-commits at lists.llvm.org
Thu May 15 09:24:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5defe490c9b1356916245e1832859c361ac8d812
      https://github.com/llvm/llvm-project/commit/5defe490c9b1356916245e1832859c361ac8d812
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenFunction.h

  Log Message:
  -----------
  [sanitizer][NFCI] Add 'SanitizerAnnotateDebugInfo' (#139965)

This generalizes the debug info annotation code from https://github.com/llvm/llvm-project/pull/139149 and moves it into a helper function, SanitizerAnnotateDebugInfo().

Future work can use 'ApplyDebugLocation ApplyTrapDI(*this, SanitizerAnnotateDebugInfo(Ordinal));' to add annotations to additional checks.



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